You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failure to install using node@9.2.0 and npm@5.5.1 (zeromq dependency fails to install) #124
All installation steps in the README work until the last command;
christophers-MacBook-Pro:~ christophervillanueva$ sudo npm install -g ijavascript
Password:
/usr/local/bin/ijs -> /usr/local/lib/node_modules/ijavascript/bin/ijavascript.js
/usr/local/bin/ijsconsole -> /usr/local/lib/node_modules/ijavascript/bin/ijsconsole.js
/usr/local/bin/ijsinstall -> /usr/local/lib/node_modules/ijavascript/bin/ijsinstall.js
/usr/local/bin/ijskernel -> /usr/local/lib/node_modules/ijavascript/lib/kernel.js
/usr/local/bin/ijsnotebook -> /usr/local/lib/node_modules/ijavascript/bin/ijsnotebook.js
prebuild-install info begin Prebuild-install version 2.3.0
prebuild-install info looking for local prebuild @ prebuilds/zeromq-v4.6.0-node-v59-darwin-x64.tar.gz
prebuild-install WARN install EACCES: permission denied, access '/Users/christophervillanueva/.npm'
Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/ijavascript/node_modules/zeromq/zmq'
at Object.fs.mkdirSync (fs.js:905:18)
at Object. (/usr/local/lib/node_modules/ijavascript/node_modules/zeromq/scripts/preinstall.js:89:8)
at Module._compile (module.js:641:30)
at Object.Module._extensions..js (module.js:652:10)
at Module.load (module.js:560:32)
at tryModuleLoad (module.js:503:12)
at Function.Module._load (module.js:495:3)
at Function.Module.runMain (module.js:682:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:613:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zeromq@4.6.0 install: node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zeromq@4.6.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/christophervillanueva/.npm/_logs/2017-11-17T02_08_30_334Z-debug.log
changed the title [-]Failure to install in Mac (zeromq dependency fails to install)[/-][+]Failure to install using sudo on Mac (zeromq dependency fails to install)[/+]on Nov 17, 2017
changed the title [-]Failure to install using sudo on Mac (zeromq dependency fails to install)[/-][+]Failure to install using node@9.20 and npm@5.5.1 (zeromq dependency fails to install)[/+]on Nov 20, 2017
changed the title [-]Failure to install using node@9.20 and npm@5.5.1 (zeromq dependency fails to install)[/-][+]Failure to install using node@9.2.0 and npm@5.5.1 (zeromq dependency fails to install)[/+]on Nov 20, 2017
I have the same exact issue, have a fully updated node + npm, and freit's solution did not seem to work. Is there something else that can be tried to solve this serious bug?
Activity
n-riesco commentedon Nov 17, 2017
@chrisVillanueva As a workaround for the time being, I'd suggest to use a local install. See instructions here: http://n-riesco.github.io/ijavascript/doc/install.md.html
[-]Failure to install in Mac (zeromq dependency fails to install)[/-][+]Failure to install using sudo on Mac (zeromq dependency fails to install)[/+]n-riesco commentedon Nov 19, 2017
@chrisVillanueva I can't find
node@9.2.0on brew. How did you installnodeandnpm?npm@5.5.1is compatible withnode@9(see nodejs/node#16649 and npm/npm#19019 ).From nodejs/node#16509 I understand that
node@9.2.0comes with a patched version ofnpm@5.5.1to fix this incompatibility.[-]Failure to install using sudo on Mac (zeromq dependency fails to install)[/-][+]Failure to install using node@9.20 and npm@5.5.1 (zeromq dependency fails to install)[/+]n-riesco commentedon Nov 20, 2017
I've got to reproduce this issue using
dockerandnode:latest:n-riesco commentedon Nov 20, 2017
Again, for the time being, until
node@9andnpm@5.5fix their incompatibilities, I recommend to install IJavascript locally:[-]Failure to install using node@9.20 and npm@5.5.1 (zeromq dependency fails to install)[/-][+]Failure to install using node@9.2.0 and npm@5.5.1 (zeromq dependency fails to install)[/+]freiit commentedon Jun 19, 2018
I had the same issue with node 10.4.1 and newest npm. Fixed by
n-riesco commentedon Jun 19, 2018
@freiit
--usafe-permis only needed for installations by the root user. Pleae, see #146 .Masterxilo commentedon Dec 11, 2018
I have the same problem.
n-riesco commentedon Dec 11, 2018
@Masterxilo , just to confirm the issue you're seeing is #179?
michael-ziedalski commentedon Jun 30, 2019
I have the same exact issue, have a fully updated
node+npm, and freit's solution did not seem to work. Is there something else that can be tried to solve this serious bug?n-riesco commentedon Jul 1, 2019
@michael-ziedalski Please, have a look at the requirements listed in #184.
If the info in #184 doesn't help, please, open a new issue and post what commands you are running and their output.