npm can’t find package.json
I’m trying to install the dependencies of some example: npm’s express 2.5.8
that I’ve downloaded, but all of the apps throw the same error:
ELIFECYCLE. Project just randomly crashed
I`ve made a project for my own purpose (to-do list + communication with Telegram bot)
I finished my work yesterday without any error, any major change in files etc. and i just can run “npm start” now.
Here is my logs:
“npm run build” command for node js is returned error
In my MERN project there is client and server directories, I wanted to run npm run build
command for both of them. To do this I added this scripts to main packege json
"build:client": "cd client && npm run build", "build:server": "cd server && npm run build", "build": "npm-run-all build:client build:server"