firebase-tools icon indicating copy to clipboard operation
firebase-tools copied to clipboard

Error during installation

Open manishmshivanandhan opened this issue 12 years ago • 2 comments

bash-3.2# npm install -g firebase-tools npm ERR! Darwin 12.3.0 npm ERR! argv "node" "/Users/manishsivanandan/local/bin/npm" "install" "-g" "firebase-tools" npm ERR! node v0.10.29 npm ERR! npm v2.0.2 npm ERR! file /Users/manishsivanandan/.npm/minimatch/0.3.0/package/package.json npm ERR! code EJSONPARSE

npm ERR! Failed to parse json npm ERR! Unexpected end of input npm ERR! File: /Users/manishsivanandan/.npm/minimatch/0.3.0/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

manishmshivanandhan avatar Oct 05 '14 06:10 manishmshivanandhan

This looks like an issue with your cached copy of the module minimatch - try removing your local cached copy with rm -r /Users/manishsivanandan/.npm/minimatch , then try the command again

cbraynor avatar Oct 05 '14 15:10 cbraynor

It worked. Thanks.

manishmshivanandhan avatar Oct 05 '14 15:10 manishmshivanandhan