SyntaxFix
Write A Post
Hire A Developer
Questions
happens with old node version. use latest version of node like this:
$ nvm use 8.0 $ rm -rf node_modules $ npm install $ npm i somemodule
$ nvm use 8.0
$ rm -rf node_modules
$ npm install
$ npm i somemodule
edit: also make sure you save. eg: npm install yourmoduleName --save
save
npm install yourmoduleName --save