Closed ghost closed 5 years ago
Getting the same error too
Edit (Quick fix that worked for me):
//////////////////////////////////// I have a similar error:
Even if I download react-scripts via "npm install react-scripts" I get the same error.
I have tried:
I also used create-react-app outside of truffle and 'npm run start' worked fine.
I am by no means an expert but perhaps it has something to do with this:
https://askubuntu.com/questions/141928/what-is-the-difference-between-bin-sh-and-bin-bash
Any solution? I am getting the same error
Any solution? I am getting the same error
Try using yarn instead and then running "yarn react-scripts start".
That worked for me.
Resolved. Dependent packages are best installed manually, should run 'npm install' before 'npm run start', and before run 'npm install', should install the Git.
Why not automatically download dependency packages...