Hello,
I'd like to try out the jupyter-dashboard server, but I'm having trouble
with the npm installation. I'm not a nodejs expert, and I haven't had
any luck googling for similar issues. I know this is only loosely
related to Jupyter, but as I said, I haven't found any leads through
googling.
I am running `npm install -g jupyter-dashboards-server` and the issue is
when trying to install the dependency "phosphor-dragdrop". During that
packages install, it fails on `npm dedupe`. The specific error is:
npm ERR! Error: EACCES: permission denied, open
'
/root/.npm/_locks/staging-a072192f34a17023.lock.STALE'
[snip]
npm ERR! Please try running this command again as root/Administrator.
I am running this as root to try and do a global installation. Further
suggestions in the error log are to make sure I have the latest versions
of node and npm. I am running the latest Gentoo stable versions:
node v6.3.0
npm v3.10.3
and I'm trying to install phosphor-dragdrop version 0.9.1.
Has anyone seen errors similar to this? Full log below.
Thanks very much,
Spencer Ogden
npm WARN lifecycle
phosphor...@0.9.1~prepublish: cannot run in wd
%s %s (wd=%s)
phosphor...@0.9.1 npm run build /root/phosphor-dragdrop
>
phosphor...@0.9.1 postinstall
/usr/lib/node_modules/phosphor-dragdrop
> npm dedupe
npm WARN locking Error: EACCES: permission denied, open
'
/root/.npm/_locks/staging-a072192f34a17023.lock.STALE'
npm WARN locking at Error (native)
npm WARN locking
/root/.npm/_locks/staging-a072192f34a17023.lock failed
{ Error: EACCES: permission denied, open
'
/root/.npm/_locks/staging-a072192f34a17023.lock.STALE'
npm WARN locking at Error (native)
npm WARN locking errno: -13,
npm WARN locking code: 'EACCES',
npm WARN locking syscall: 'open',
npm WARN locking path:
'
/root/.npm/_locks/staging-a072192f34a17023.lock.STALE' }
npm ERR! Linux 3.18.9-gentoo
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "dedupe"
npm ERR! node v6.3.0
npm ERR! npm v3.10.3
npm ERR! path
/root/.npm/_locks/staging-a072192f34a17023.lock.STALE
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open
'
/root/.npm/_locks/staging-a072192f34a17023.lock.STALE'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, open
'
/root/.npm/_locks/staging-a072192f34a17023.lock.STALE'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: '
/root/.npm/_locks/staging-a072192f34a17023.lock.STALE' }
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! /usr/lib64/node_modules/phosphor-dragdrop/npm-debug.log
npm ERR! Linux 3.18.9-gentoo
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g"
npm ERR! node v6.3.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR!
phosphor...@0.9.1 postinstall: `npm dedupe`
npm ERR! Exit status 243
npm ERR!
npm ERR! Failed at the
phosphor...@0.9.1 postinstall script 'npm
dedupe'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the
phosphor-dragdrop package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm dedupe
npm ERR! You can get information on how to open an issue for this
project with:
npm ERR! npm bugs phosphor-dragdrop
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls phosphor-dragdrop
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/phosphor-dragdrop/npm-debug.log