From 5850497d54923a29d17af55ee03775d392528787 Mon Sep 17 00:00:00 2001 From: Gottfried Chen Date: Mon, 4 Feb 2019 22:33:55 +0100 Subject: [PATCH] fix local yarn create-react-app --- tasks/cra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/cra.js b/tasks/cra.js index 82343b1563a..6d873a837ec 100644 --- a/tasks/cra.js +++ b/tasks/cra.js @@ -113,7 +113,7 @@ const args = process.argv.slice(2); // Now run the CRA command const craScriptPath = path.join(packagesDir, 'create-react-app', 'index.js'); cp.execSync( - `node ${craScriptPath} --scripts-version="${scriptsPath}" ${args.join(' ')}`, + `node ${craScriptPath} ${args.join(' ')} --scripts-version="${scriptsPath}"`, { cwd: rootDir, stdio: 'inherit',