-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Hello
I use the docker slave plugin and when I try to run command "npm install" in node container I get next error:
npm ERR! Linux 3.13.0-119-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! path /home/jenkins/.npm
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/home/jenkins/.npm'
npm ERR!
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /home/jenkins/.npm/_logs/2017-06-15T09_56_04_851Z-debug.log
Could you please fix it.