Tag Archives: npm WARN Local package.json exists

[Solved] npm WARN Local package.json exists, but node_modules missing, did you mean to install?

Error:
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `webpack-dev-server --inline --progress --config build/
onf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging ou
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

Solution:

Specify to the current directory, and the installation depends on

npm install