sh: 1: react-scripts: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! crafting@1.0.0 build: react-scripts build
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the crafting@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/andrew/.npm/_logs/2018-10-09T13_18_49_769Z-debug.log
I was trying to build it to run it on my computer for testing. Edit: I will tell you if I find out the problem
When I use the command
npm run build
it gives this errorsh: 1: react-scripts: not found npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! crafting@1.0.0 build:
react-scripts build
npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the crafting@1.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?npm ERR! A complete log of this run can be found in: npm ERR! /home/andrew/.npm/_logs/2018-10-09T13_18_49_769Z-debug.log
I was trying to build it to run it on my computer for testing. Edit: I will tell you if I find out the problem