Closed Bug 905332 Opened 12 years ago Closed 7 years ago

[marionette-js-runner] Running the marionette js client integration tests should not require elevated privileges

Categories

(Testing Graveyard :: JSMarionette, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: gaye, Unassigned)

Details

gareth@albi:~/Documents/marionette_js_client$ make test-integration npm link npm ERR! Error: EACCES, symlink '/home/gareth/Documents/marionette_js_client' npm ERR! { [Error: EACCES, symlink '/home/gareth/Documents/marionette_js_client'] npm ERR! errno: 3, npm ERR! code: 'EACCES', npm ERR! path: '/home/gareth/Documents/marionette_js_client' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! System Linux 3.2.0-49-generic npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "link" npm ERR! cwd /home/gareth/Documents/marionette_js_client npm ERR! node -v v0.8.14 npm ERR! npm -v 1.1.65 npm ERR! path /home/gareth/Documents/marionette_js_client npm ERR! code EACCES npm ERR! errno 3 npm ERR! stack Error: EACCES, symlink '/home/gareth/Documents/marionette_js_client' npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/gareth/Documents/marionette_js_client/npm-debug.log npm ERR! not ok code 0 make: *** [link] Error 3
Looks like you have node installed as root? Not much we can do here if that is the case.
Flags: needinfo?(gaye)
So the issue was `npm link`. Running `sudo chown -R $USER /usr/local` fixed things, but I'm still not totally understanding...
Flags: needinfo?(gaye)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.