Error on npm install
sebastiansandqvist opened this issue · 2 comments
sebastiansandqvist commented
Each time I attempt to install zuul from NPM, I get an error message. I've tried with various npm and node versions, but the following results are from node (iojs) v3.1.0 and npm v2.13.3
npm i -g zuul
> fsevents@0.3.8 install /usr/local/lib/node_modules/zuul/node_modules/watchify/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
npm ERR! Darwin 13.4.0
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "i" "-g" "zuul"
npm ERR! node v3.1.0
npm ERR! npm v2.13.3
npm ERR! file /Users/sebastiansandqvist/.npm/tar-stream/0.4.7/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: /Users/sebastiansandqvist/.npm/tar-stream/0.4.7/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
npm ERR! Please include the following file with any support request:
npm ERR! /Users/sebastiansandqvist/.npm/tar-stream/0.4.7/package/npm-debug.log
defunctzombie commented
seems like something failed when downloading from npm. Maybe clear your npm cache npm cache clean
sebastiansandqvist commented
This did the trick. Thanks!