craft-redux
craft-redux copied to clipboard
failed yarn run start/build/test on windows with error: missing ) after argument list
after yarn install i can't run it
$ yarn start
yarn start v0.27.5
$ node -r ./scripts/env-dev ./node_modules/.bin/react-scripts start
D:\react_project\practice\practice0\node_modules\.bin\react-scripts:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:537:28)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Function.Module.runMain (module.js:609:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:578:3
error Command failed with exit code 1.