Skip to content

Instantly share code, notes, and snippets.

@adaptivedev
Created June 15, 2014 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adaptivedev/ab081a9eb88089af62cd to your computer and use it in GitHub Desktop.
Save adaptivedev/ab081a9eb88089af62cd to your computer and use it in GitHub Desktop.
ionic install problems
RoverMR:webapp rover$ sudo npm install -g cordova ionic
npm http GET https://registry.npmjs.org/cordova
npm http 304 https://registry.npmjs.org/cordova
npm http GET https://registry.npmjs.org/ionic
npm http 304 https://registry.npmjs.org/ionic
npm http GET https://registry.npmjs.org/ionic/-/ionic-1.0.14.tgz
npm http 200 https://registry.npmjs.org/ionic/-/ionic-1.0.14.tgz
npm ERR! tar pack Error reading /Users/rover/tmp/npm-17449/1402850106338-0.5961648433003575/package
npm ERR! TypeError: Cannot call method 'filter' of undefined
npm ERR! at Packer.IgnoreReader.addIgnoreRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:148:13)
npm ERR! at Packer.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:133:10)
npm ERR! at fs.js:252:14
npm ERR! at Object.oncomplete (fs.js:93:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "cordova" "ionic"
npm ERR! cwd /Users/rover/Documents/Dev/webapp
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm ERR! type non_object_property_call
npm ERR! addLocalDirectory Could not pack "/Users/rover/tmp/npm-17449/1402850106338-0.5961648433003575/package" to "/Users/rover/.npm/ionic/1.0.14/package.tgz"
npm ERR! SyntaxError: Unexpected string
npm ERR! at Object.parse (native)
npm ERR! at Packer.readRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:189:33)
npm ERR! at Packer.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:132:22)
npm ERR! at fs.js:252:14
npm ERR! at Object.oncomplete (fs.js:93:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Darwin 13.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "cordova" "ionic"
npm ERR! cwd /Users/rover/Documents/Dev/webapp
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm ERR! file /Users/rover/tmp/npm-17449/1402850106338-0.5961648433003575/package/bin/test/plugins/com.ionic.keyboard/package.json
npm ERR! path /Users/rover/tmp/npm-17449/1402850106338-0.5961648433003575/package/bin/test/plugins/com.ionic.keyboard
npm ERR! type unexpected_token_string
npm ERR! fstream_path /Users/rover/tmp/npm-17449/1402850106338-0.5961648433003575/package/bin/test/plugins/com.ionic.keyboard
npm ERR! fstream_type Directory
npm ERR! fstream_class Packer
npm ERR! fstream_stack Packer.readRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:192:10)
npm ERR! fstream_stack Packer.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:132:22)
npm ERR! fstream_stack fs.js:252:14
npm ERR! fstream_stack Object.oncomplete (fs.js:93:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/rover/Documents/Dev/webapp/npm-debug.log
npm ERR! not ok code 0
You have new mail in /var/mail/rover
RoverMR:webapp rover$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment