Error during installation
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
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
It worked. Thanks.