Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upnpm install: failed to parse package.json #70
Comments
This comment has been minimized.
This comment has been minimized.
|
this works fine for me - can you try this again? |
This comment has been minimized.
This comment has been minimized.
nmccready
commented
Aug 22, 2014
|
For me my |
This comment has been minimized.
This comment has been minimized.
DennisAhaus
commented
Jul 15, 2015
|
Thx for hints. After |
DennisAhaus
closed this
Jul 15, 2015
This comment has been minimized.
This comment has been minimized.
vanishcode
commented
Jun 7, 2017
|
For npm@5 , |
This comment has been minimized.
This comment has been minimized.
rajkuttie
commented
Jun 21, 2017
|
Don't put any comment line on package.json File |
This comment has been minimized.
This comment has been minimized.
EmadAdly
commented
Jun 22, 2017
|
can you try this |
This comment has been minimized.
This comment has been minimized.
varunrajasekhar
commented
Aug 29, 2017
|
try running "npm init" in your root folder i.e. Eg: C:\Apps\reactApp |
This comment has been minimized.
This comment has been minimized.
ryanmalone
commented
Sep 8, 2017
|
npm cache clean did it for me too! |
This comment has been minimized.
This comment has been minimized.
MrAurochs
commented
Jan 6, 2018
|
The npm cache verify, npm cache clean stuff did not work for me at all. |
This comment has been minimized.
This comment has been minimized.
hkirkan
commented
Jan 31, 2018
|
first install with |
DennisAhaus commentedAug 11, 2014
Just wanted to install event-stream via npm with command:
npm install event-stream -gbut i only got the same error:
`$ npm install event-stream -g
npm ERR! Failed to parse json
npm ERR! Unexpected end of input
npm ERR! File: C:\Users\myUser\AppData\Roaming\npm-cache\stream-combiner\0.0.4\package\package.jso
n
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
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\dev\nodejs\node.exe" "c:\dev\nodejs\node_modules\npm\bin\npm-cli.js" "
install" "event-stream" "-g"
npm ERR! cwd z:\myService
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! file C:\Users\myUser\AppData\Roaming\npm-cache\stream-combiner\0.0.4\package\package.json
npm ERR! code EJSONPARSE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! z:\myService\npm-debug.log
npm ERR! not ok code 0`