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
I had the same issue but it was caused by a broken package-lock.json file.
package-lock.json
Deleting package-lock.json and running npm install again fixed it for me.