On Mar 9, 2014, at 07:59, James Bay wrote: > I installed the nodejs under Ubuntu and ran npm, to locally install express, > but for some reason it requires root: > > james@station:~/projects/first-project$ npm install express > npm http GET https://registry.npmjs.org/express > npm http 304 https://registry.npmjs.org/express > npm ERR! Error: EACCES, mkdir '/home/james/tmp/npm-2663-k-g07auj' > npm ERR! { [Error: EACCES, mkdir '/home/james/tmp/npm-2663-k-g07auj'] > npm ERR! errno: 3, > npm ERR! code: 'EACCES', > npm ERR! path: '/home/james/tmp/npm-2663-k-g07auj' } > npm ERR! > npm ERR! Please try running this command again as root/Administrator.
What are the permissions of /home/james/tmp? Perhaps they need to be adjusted to be more permissive? -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
