Skip to content

Instantly share code, notes, and snippets.

@shadow-fox
Created July 17, 2012 19:51
Show Gist options
  • Save shadow-fox/3131596 to your computer and use it in GitHub Desktop.
Save shadow-fox/3131596 to your computer and use it in GitHub Desktop.
npm error
npm ERR! Error: EACCES, symlink '../lib/node_modules/npm/bin/npm-cli.js'
npm ERR! { [Error: EACCES, symlink '../lib/node_modules/npm/bin/npm-cli.js']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '../lib/node_modules/npm/bin/npm-cli.js' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Linux 2.6.38-15-generic-pae
npm ERR! command "/usr/bin/node" "/tmp/npm.25935/package/cli.js" "install" "-gf"
npm ERR! cwd /tmp/npm.25935/package
npm ERR! node -v v0.8.2
npm ERR! npm -v 1.1.43
npm ERR! path ../lib/node_modules/npm/bin/npm-cli.js
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, symlink '../lib/node_modules/npm/bin/npm-cli.js'
npm verb exit [ 3, true ]
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/npm.25935/package/npm-debug.log
npm ERR! not ok code 0
+ ret=3
+ '[' 3 -ne 0 ']'
+ echo 'It failed'
It failed
+ exit 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment