Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
npm start fails after copying a generated project to a new directory #200
Here is the failure:
At first I thought it might have something to do with having run
I'm running Node 5.0.0 and npm 3.3.12.
I tried (via nvm) with Node 6.3.1 and npm 3.10.3 and got the same behavior.
Manually running the
Oddly, when comparing the 2 projects side-by-side, the
I was intrigued so I dug into this real quick.
The problem is that
I'm not sure that this can really be resolved by
Please help me :(
0 info it worked if it ends with ok
referenced this issue
Aug 22, 2017
If you change node_modules directory you have to change paths also inside node_modules/* package.json files. Search and replace \old_path to new one.
If you want to change /src path then modify react-scripts/config/paths.js