blackberry/Ripple-UI — Issue #267: Error building on lubuntu (an Ubuntu variant)
Author: aceperry
Created: 2012-01-22 10:59:11+00:00
State: open

I get this error when I try to build on linux:

perry@perry-PineTrail:~/src/Ripple-UI$ ./configure
npm http GET https://registry.npmjs.org/jake
npm http GET https://registry.npmjs.org/jshint
npm http GET https://registry.npmjs.org/csslint
npm http GET https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/jshint
npm http 304 https://registry.npmjs.org/csslint
npm http 304 https://registry.npmjs.org/jake
npm http 304 https://registry.npmjs.org/uglify-js
npm ERR! Could not create /usr/local/lib/node_modules/___jshint.npm
npm ERR! error installing jshint@0.5.7
npm ERR! Could not create /usr/local/lib/node_modules/___csslint.npm
npm ERR! error installing csslint@0.9.2
npm ERR! Could not create /usr/local/lib/node_modules/___jake.npm
npm ERR! error installing jake@0.2.11
npm ERR! Could not create /usr/local/lib/node_modules/___uglify-js.npm
npm ERR! error installing uglify-js@1.2.5

npm ERR! Error: EACCES, permission denied '/usr/local/lib/node_modules/___jshint.npm'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!
npm ERR! System Linux 3.0.0-15-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "jake" "jshint" "csslint" "uglify-js"
npm ERR! cwd /home/perry/src/Ripple-UI
npm ERR! node -v v0.6.8
npm ERR! npm -v 1.1.0-2
npm ERR! path /usr/local/lib/node_modules/___jshint.npm
npm ERR! code EACCES
npm ERR! message EACCES, permission denied '/usr/local/lib/node_modules/___jshint.npm'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/perry/src/Ripple-UI/npm-debug.log
npm not ok
npm WARN jsdom@0.2.4 package.json: bugs['web'] should probably be bugs['url']

perry@perry-PineTrail:~/src/Ripple-UI$