npm install
/ npm install -g
command is not working in Windows 7
Node.js is installed properly, node.js version is v0.10.28
Couldn't read dependencies
ENOENT, open '"filepath"\package.json'
This is most likely not a problem with npm itself.
npm can't find a package.json file in your current directory.
Check this link for steps on how to install express.js for your application locally.
But, if for some reason you are installing express globally, make sure the directory you are in is the directory where Node is installed. On my Windows 10, package.json is located at
Open command prompt as administrator and change your directory to the location where your package.json is located.
Then issue the install command.
I was facing the same issue as below.
The problem I made was, I was running the command
npm build run
instead of runningnpm run build
.Just sharing to help someone who does small mistakes like me.