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

Problem installing zeromq.js behind proxy #260

Closed
krissdap opened this issue Jun 18, 2018 · 3 comments
Closed

Problem installing zeromq.js behind proxy #260

krissdap opened this issue Jun 18, 2018 · 3 comments

Comments

@krissdap
Copy link

Dear ZeroMQ.js Maintainers,

I've tried to setup a new project using zeromq.js from behind a proxy and failed.

npm install zeromq

The error occurred during the "install" phase.
from package.json

"install": "node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)"

I'm aware of the issue #115 which you resolved by using prebuild-install.
This requires that my machine have prebuild-install installed globally, and working.

At least on my machine, fresh Ubuntu 18.04 + Node 8.10.0 + npm 3.5.2, the pbi does not work.
And switching to scripts/preinstall.js also failed because it does not support proxy.

@yanqd0
Copy link

yanqd0 commented Jun 19, 2019

I have the same issue.

My proxy is cntlm, and I have set https_proxy appropriately in the CLI environment and npm.
export NODE_TLS_REJECT_UNAUTHORIZED=0 is also set to avoid the cert verification issue.

But not working yet.

@rolftimmermans
Copy link
Member

The latest 6.0 beta release includes all prebuilds within the NPM package, so this should no longer be an issue. It would be great if you could try it out! The new version has a new API that addresses some fundamental issues with the previous API, but it does include a compatibility layer that should make upgrading easier. See #189 for the reasoning behind the new API. If you run into any problems feel free to report it here or in a new issue.

@krissdap
Copy link
Author

krissdap commented Nov 14, 2019

Thanks! I'll try it out and will update here when I have a chance.

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

3 participants