I can\'t use npm install using the command prompt in NodeJS. I\'m getting these errors when running npm install:
npm install
module.js:339
Faced this issue when I ran npm install using a lower version of node. Then later when I upgraded to latest version of node and ran gulp, it has shown this error.
gulp
To resolve, deleted node_modules and re-ran npm install. Then gulp ran fine.