Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prebuild-install WARN install connect ECONNREFUSED 140.82.118.4:443 #179

Closed
Masterxilo opened this issue Dec 11, 2018 · 2 comments
Closed

Comments

@Masterxilo
Copy link

npm install -g ijavascript
/home/pol/bin/ijsconsole -> /home/pol/lib/node_modules/ijavascript/bin/ijsconsole.js
/home/pol/bin/ijsinstall -> /home/pol/lib/node_modules/ijavascript/bin/ijsinstall.js
/home/pol/bin/ijs -> /home/pol/lib/node_modules/ijavascript/bin/ijavascript.js
/home/pol/bin/ijskernel -> /home/pol/lib/node_modules/ijavascript/lib/kernel.js
/home/pol/bin/ijsnotebook -> /home/pol/lib/node_modules/ijavascript/bin/ijsnotebook.js

> zeromq@4.6.0 install /home/pol/lib/node_modules/ijavascript/node_modules/zeromq
> node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)


prebuild-install WARN install connect ECONNREFUSED 140.82.118.4:443

{ Error: connect ECONNREFUSED 140.82.118.4:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14)
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '140.82.118.4',
  port: 443 }
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!     /home/pol/.npm/_logs/2018-12-11T10_13_03_814Z-debug.log
@n-riesco
Copy link
Owner

I'd guess you're behind a proxy and affected by zeromq/zeromq.js#260 .

(I'm assuming you're installing IJavascript on Ubuntu) As a workaround, it is possible to build zeromq.js against Ubuntu's libzmq3-dev:

$ sudo apt install libzmq3-dev build-essential python2.7
$ npm_config_zmq_external=true npm install -g ijavascript

(I haven't tested this workaround; I will help if you find any problems with it).

@n-riesco
Copy link
Owner

Closing in favour of #184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants