Skip to content

Instantly share code, notes, and snippets.

@anoras
Created June 18, 2012 10:45
Show Gist options
  • Save anoras/2947834 to your computer and use it in GitHub Desktop.
Save anoras/2947834 to your computer and use it in GitHub Desktop.
WebStorm + NPM + not sudo
Snehvit:test anders$ npm install express
npm http GET https://registry.npmjs.org/express
npm http 200 https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/mime/1.2.4
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/mkdirp/0.3.0
npm http GET https://registry.npmjs.org/connect
npm http 200 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/mime/1.2.4
npm http 200 https://registry.npmjs.org/mkdirp/0.3.0
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz
npm http 200 https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/connect/-/connect-1.9.0.tgz
npm http GET https://registry.npmjs.org/formidable
npm http 200 https://registry.npmjs.org/formidable
[email protected] ../node_modules/express
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected])
Snehvit:test anders$
info it worked if it ends with ok
verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'install' ]
info using [email protected]
info using [email protected]
verbose /usr/local/bin/node node symlink
verbose config file /Users/anders/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose caching /Users/anders/Projects/Collab/package.json
verbose loadDefaults [email protected]
verbose readDependencies: using package.json deps
verbose where, deps [ '/Users/anders/Projects/Collab', [ 'express', 'jade' ] ]
verbose from cache /Users/anders/Projects/Collab/package.json
info preinstall [email protected]
verbose caching /Users/anders/Projects/Collab/node_modules/express/package.json
verbose from cache /Users/anders/Projects/Collab/package.json
verbose readDependencies: using package.json deps
verbose from cache /Users/anders/Projects/Collab/node_modules/express/package.json
verbose already installed in /Users/anders/Projects/Collab skipping [email protected]
verbose cache add [ 'jade@>= 0.0.1', null ]
silly cache add: name, spec, args [ undefined, 'jade@>= 0.0.1', [ 'jade@>= 0.0.1', null ] ]
verbose parsed url { pathname: 'jade@', path: 'jade@', href: 'jade@' }
silly cache add: name, spec, args [ 'jade', '>= 0.0.1', [ 'jade', '>= 0.0.1' ] ]
verbose parsed url { pathname: '=', path: '=', href: '=' }
verbose addNamed [ 'jade', '>= 0.0.1' ]
verbose addNamed [ null, '>=0.0.1' ]
silly name, range, hasData [ 'jade', '>=0.0.1', false ]
verbose raw, before any munging jade
verbose url resolving [ 'https://registry.npmjs.org/', './jade' ]
verbose url resolved https://registry.npmjs.org/jade
verbose etag "EUYPP9C1AIP5MWGNYDBEDGU0O"
http GET https://registry.npmjs.org/jade
http 200 https://registry.npmjs.org/jade
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb etag: '"5UKVWVKM9UO5E92QY25HT17CP"',
silly get cb date: 'Mon, 18 Jun 2012 10:41:08 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '60022' } ]
silly name, range, hasData 2 [ 'jade', '>=0.0.1', true ]
silly versions [ 'jade',
silly versions [ '0.0.1',
silly versions '0.0.2',
silly versions '0.1.0',
silly versions '0.2.0',
silly versions '0.2.1',
silly versions '0.2.2',
silly versions '0.2.3',
silly versions '0.2.4',
silly versions '0.3.0',
silly versions '0.4.0',
silly versions '0.4.1',
silly versions '0.5.0',
silly versions '0.5.1',
silly versions '0.5.2',
silly versions '0.5.3',
silly versions '0.5.4',
silly versions '0.5.5',
silly versions '0.5.6',
silly versions '0.5.7',
silly versions '0.6.0',
silly versions '0.6.1',
silly versions '0.6.3',
silly versions '0.7.0',
silly versions '0.7.1',
silly versions '0.8.0',
silly versions '0.8.1',
silly versions '0.8.2',
silly versions '0.8.3',
silly versions '0.8.4',
silly versions '0.8.5',
silly versions '0.8.6',
silly versions '0.8.7',
silly versions '0.8.8',
silly versions '0.8.9',
silly versions '0.9.0',
silly versions '0.9.1',
silly versions '0.9.2',
silly versions '0.9.3',
silly versions '0.10.0',
silly versions '0.10.1',
silly versions '0.10.2',
silly versions '0.10.3',
silly versions '0.10.4',
silly versions '0.10.5',
silly versions '0.10.6',
silly versions '0.10.7',
silly versions '0.11.0',
silly versions '0.11.1',
silly versions '0.12.0',
silly versions '0.12.1',
silly versions '0.12.2',
silly versions '0.12.3',
silly versions '0.12.4',
silly versions '0.13.0',
silly versions '0.14.0',
silly versions '0.14.1',
silly versions '0.14.2',
silly versions '0.15.0',
silly versions '0.15.1',
silly versions '0.15.2',
silly versions '0.15.3',
silly versions '0.15.4',
silly versions '0.16.0',
silly versions '0.16.1',
silly versions '0.16.2',
silly versions '0.16.3',
silly versions '0.16.4',
silly versions '0.17.0',
silly versions '0.18.0',
silly versions '0.19.0',
silly versions '0.20.0',
silly versions '0.20.1',
silly versions '0.20.2',
silly versions '0.20.3',
silly versions '0.21.0',
silly versions '0.22.0',
silly versions '0.22.1',
silly versions '0.23.0',
silly versions '0.24.0',
silly versions '0.25.0',
silly versions '0.26.0',
silly versions '0.26.1' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.25-darwin-x64-11.4.0',
verbose bin dist { shasum: '0e9ad15b3ae07e3fb404a1fda4668aec10e96a17',
verbose bin dist tarball: 'http://registry.npmjs.org/jade/-/jade-0.26.1.tgz' } ]
verbose caching /Users/anders/.npm/jade/0.26.1/package/package.json
verbose loadDefaults [email protected]
silly resolved [ { name: 'jade',
silly resolved description: 'Jade template engine',
silly resolved version: '0.26.1',
silly resolved author: { name: 'TJ Holowaychuk', email: '[email protected]' },
silly resolved repository: { type: 'git', url: 'git://github.com/visionmedia/jade.git' },
silly resolved main: './index.js',
silly resolved bin: { jade: './bin/jade' },
silly resolved man: [ './jade.1' ],
silly resolved dependencies: { commander: '0.5.2', mkdirp: '0.3.0' },
silly resolved devDependencies:
silly resolved { mocha: '*',
silly resolved markdown: '*',
silly resolved stylus: '*',
silly resolved uubench: '*',
silly resolved should: '*',
silly resolved less: '*',
silly resolved 'uglify-js': '*' },
silly resolved component: { scripts: { jade: 'runtime.js' } },
silly resolved scripts: { prepublish: 'npm prune' },
silly resolved engines: { node: '>= 0.1.98' },
silly resolved _id: '[email protected]',
silly resolved optionalDependencies: {},
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.21',
silly resolved _nodeVersion: 'v0.6.19',
silly resolved _defaultsLoaded: true,
silly resolved _from: 'jade@>= 0.0.1' } ]
info into /Users/anders/Projects/Collab [email protected]
info installOne [email protected]
verbose from cache /Users/anders/.npm/jade/0.26.1/package/package.json
info unbuild /Users/anders/Projects/Collab/node_modules/jade
verbose unpack /Users/anders/.npm/jade/0.26.1/package.tgz
silly gunzTarPerm modes [ '755', '644' ]
silly extracting entry package.json
silly extracting entry .npmignore
silly extracting entry LICENSE
silly extracting entry index.js
silly extracting entry jade.js
silly extracting entry jade.min.js
silly extracting entry runtime.js
silly extracting entry runtime.min.js
silly extracting entry testing/index.js
silly extracting entry testing/user.js
silly extracting entry testing/head.jade
silly extracting entry testing/index.jade
silly extracting entry testing/layout.jade
silly extracting entry testing/user.jade
silly extracting entry bin/jade
silly extracting entry jade.md
silly extracting entry test.jade
silly extracting entry lib/compiler.js
silly extracting entry lib/filters.js
silly extracting entry lib/inline-tags.js
silly extracting entry lib/jade.js
silly extracting entry lib/doctypes.js
silly extracting entry lib/self-closing.js
silly extracting entry lib/parser.js
silly extracting entry lib/runtime.js
silly extracting entry lib/utils.js
silly extracting entry lib/lexer.js
silly extracting entry lib/nodes/attrs.js
silly extracting entry lib/nodes/code.js
silly extracting entry lib/nodes/comment.js
silly extracting entry lib/nodes/doctype.js
silly extracting entry lib/nodes/case.js
silly extracting entry lib/nodes/filter.js
silly extracting entry lib/nodes/index.js
silly extracting entry lib/nodes/literal.js
silly extracting entry lib/nodes/mixin.js
silly extracting entry lib/nodes/node.js
silly extracting entry lib/nodes/block.js
silly extracting entry lib/nodes/tag.js
silly extracting entry lib/nodes/block-comment.js
silly extracting entry lib/nodes/text.js
silly extracting entry lib/nodes/each.js
verbose caching /Users/anders/Projects/Collab/node_modules/jade/package.json
verbose loadDefaults [email protected]
info preinstall [email protected]
verbose from cache /Users/anders/Projects/Collab/node_modules/jade/package.json
verbose readDependencies: using package.json deps
verbose from cache /Users/anders/Projects/Collab/node_modules/jade/package.json
verbose readDependencies: using package.json deps
verbose cache add [ '[email protected]', null ]
silly cache add: name, spec, args [ undefined, '[email protected]', [ '[email protected]', null ] ]
verbose parsed url { pathname: '[email protected]',
verbose parsed url path: '[email protected]',
verbose parsed url href: '[email protected]' }
silly cache add: name, spec, args [ 'mkdirp', '0.3.0', [ 'mkdirp', '0.3.0' ] ]
verbose parsed url { pathname: '0.3.0', path: '0.3.0', href: '0.3.0' }
verbose addNamed [ 'mkdirp', '0.3.0' ]
verbose addNamed [ '0.3.0', '0.3.0' ]
verbose cache add [ '[email protected]', null ]
silly cache add: name, spec, args [ undefined, '[email protected]', [ '[email protected]', null ] ]
verbose parsed url { pathname: '[email protected]',
verbose parsed url path: '[email protected]',
verbose parsed url href: '[email protected]' }
silly cache add: name, spec, args [ 'commander', '0.5.2', [ 'commander', '0.5.2' ] ]
verbose parsed url { pathname: '0.5.2', path: '0.5.2', href: '0.5.2' }
verbose addNamed [ 'commander', '0.5.2' ]
verbose addNamed [ '0.5.2', '0.5.2' ]
verbose raw, before any munging mkdirp/0.3.0
verbose url resolving [ 'https://registry.npmjs.org/', './mkdirp/0.3.0' ]
verbose url resolved https://registry.npmjs.org/mkdirp/0.3.0
verbose etag "943S8JGCDF8KQMMG7IADE23VT"
http GET https://registry.npmjs.org/mkdirp/0.3.0
verbose raw, before any munging commander/0.5.2
verbose url resolving [ 'https://registry.npmjs.org/', './commander/0.5.2' ]
verbose url resolved https://registry.npmjs.org/commander/0.5.2
verbose etag "36SHCTL4FO08YHS5CN3GZ87C2"
http GET https://registry.npmjs.org/commander/0.5.2
http 304 https://registry.npmjs.org/mkdirp/0.3.0
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb etag: '"943S8JGCDF8KQMMG7IADE23VT"',
silly get cb date: 'Mon, 18 Jun 2012 10:41:10 GMT',
silly get cb 'content-length': '0' } ]
verbose etag mkdirp/0.3.0 from cache
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.25-darwin-x64-11.4.0',
verbose bin dist { shasum: '1bbf5ab1ba827af23575143490426455f481fe1e',
verbose bin dist tarball: 'http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz' } ]
verbose caching /Users/anders/.npm/mkdirp/0.3.0/package/package.json
verbose loadDefaults [email protected]
http 200 https://registry.npmjs.org/commander/0.5.2
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb etag: '"6QTH31F1X01UMZ4WVR41Y5TAS"',
silly get cb date: 'Mon, 18 Jun 2012 10:41:10 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '7896' } ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.25-darwin-x64-11.4.0',
verbose bin dist { shasum: '0cc59302bc1daa1ddc92e1f7ffb82599581a79b6',
verbose bin dist tarball: 'http://registry.npmjs.org/commander/-/commander-0.5.2.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/commander/-/commander-0.5.2.tgz',
verbose addRemoteTarball '0cc59302bc1daa1ddc92e1f7ffb82599581a79b6' ]
verbose fetch to /var/folders/tw/g63xmx3n685dzl_yy4r3mr500000gn/T/npm-1340016071176/1340016071176-0.1565424930304289/tmp.tgz
http GET https://registry.npmjs.org/commander/-/commander-0.5.2.tgz
silly updated sha bytes 9471
info shasum 0cc59302bc1daa1ddc92e1f7ffb82599581a79b6
info shasum /var/folders/tw/g63xmx3n685dzl_yy4r3mr500000gn/T/npm-1340016071176/1340016071176-0.1565424930304289/tmp.tgz
verbose unpack /var/folders/tw/g63xmx3n685dzl_yy4r3mr500000gn/T/npm-1340016071176/1340016071176-0.1565424930304289/tmp.tgz
silly gunzTarPerm modes [ '755', '644' ]
silly extracting entry .npmignore
silly extracting entry .travis.yml
silly extracting entry History.md
silly extracting entry index.js
silly extracting entry lib/
silly extracting entry lib/commander.js
silly extracting entry Makefile
silly extracting entry package.json
silly extracting entry Readme.md
verbose caching /var/folders/tw/g63xmx3n685dzl_yy4r3mr500000gn/T/npm-1340016071176/1340016071176-0.1565424930304289/package/package.json
verbose loadDefaults [email protected]
verbose from cache /var/folders/tw/g63xmx3n685dzl_yy4r3mr500000gn/T/npm-1340016071176/1340016071176-0.1565424930304289/package/package.json
verbose tar.pack [ '/Users/anders/.npm/commander/0.5.2/package.tgz',
verbose tar.pack '/var/folders/tw/g63xmx3n685dzl_yy4r3mr500000gn/T/npm-1340016071176/1340016071176-0.1565424930304289/package' ]
verbose tarball /Users/anders/.npm/commander/0.5.2/package.tgz
verbose folder /var/folders/tw/g63xmx3n685dzl_yy4r3mr500000gn/T/npm-1340016071176/1340016071176-0.1565424930304289/package
ERR! Could not remove /Users/anders/.npm/commander/0.5.2/package
verbose about to build /Users/anders/Projects/Collab/node_modules/jade
info unbuild /Users/anders/Projects/Collab/node_modules/jade
verbose from cache /Users/anders/Projects/Collab/node_modules/jade/package.json
info preuninstall [email protected]
info uninstall [email protected]
verbose unbuild [email protected] [ true,
verbose unbuild [email protected] '/Users/anders/Projects/Collab/node_modules',
verbose unbuild [email protected] '/Users/anders/Projects/Collab/node_modules' ]
verbose binRoot [ '/Users/anders/Projects/Collab/node_modules/.bin',
verbose binRoot { jade: './bin/jade' } ]
info postuninstall [email protected]
ERR! Error: EACCES, rmdir '/Users/anders/.npm/commander/0.5.2/package'
ERR!
ERR! Please try running this command again as root/Administrator.
ERR!
ERR! System Darwin 11.4.0
ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
ERR! cwd /Users/anders/Projects/Collab
ERR! node -v v0.6.19
ERR! npm -v 1.1.21
ERR! path /Users/anders/.npm/commander/0.5.2/package
ERR! code EACCES
ERR! message EACCES, rmdir '/Users/anders/.npm/commander/0.5.2/package'
ERR! errno {}
verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment