npm ERR! Failed to parse package.json data.

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\KennethVoss\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.3.1
npm ERR! npm  v3.8.0
npm ERR! file C:\Users\KennethVoss\AppData\Roaming\npm-cache\inherits\2.0.1\package\package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: C:\Users\KennethVoss\AppData\Roaming\npm-cache\inherits\2.0.1\package\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

Author: Fantashit

2 thoughts on “npm ERR! Failed to parse package.json data.

  1. Can you check the contents of file C:\Users\KennethVoss\AppData\Roaming\npm-cache\inherits\2.0.1\package\package.json? Is it actually empty, as the error is suggesting? It shouldn’t be!

    You may want to try npm cache clean and retry the install to see that helps.

Comments are closed.