destruc7i0n / crafting

Website for generating Minecraft crafting recipe JSON files
https://crafting.thedestruc7i0n.ca/
MIT License
59 stars 8 forks source link

Not building with "npm run build" #12

Closed anbcodes closed 5 years ago

anbcodes commented 5 years ago

When I use the command npm run build it gives this error

crafting@1.0.0 build /home/andrew/Code/web/crafting react-scripts build

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

anbcodes commented 5 years ago

Ok what you need to do to fix it is run npm install which I forgot to do. I am closing