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

Broken: node-gyp http requests not proxied #32

Open
andrew opened this issue Feb 2, 2021 · 2 comments
Open

Broken: node-gyp http requests not proxied #32

andrew opened this issue Feb 2, 2021 · 2 comments
Labels
bug Something isn't working npm

Comments

@andrew
Copy link
Member

andrew commented Feb 2, 2021

Currently you can't succesfully npm install node-sass when using forest as a proxy as one of the post-install scripts attempts to download extra binaries from github releases (https) whilst reusing the same proxy as npm, which breaks as we don't have ssl configured with forest yet.

Closely related to #27, we need proper ssl support and certs configured for node-http-proxy.

This isn't a problem for go support, only certain npm modules.

@andrew andrew added the bug Something isn't working label Feb 2, 2021
@andrew andrew changed the title Broken: node-gyp http requests not proxied (node-sass install) Broken: node-gyp http requests not proxied Feb 2, 2021
@andrew
Copy link
Member Author

andrew commented Mar 29, 2021

https://github.com/davewasmer/devcert may be a nice solution to this

@andrew andrew added the npm label Mar 29, 2021
@andrew
Copy link
Member Author

andrew commented Apr 14, 2021

Switched the approach with npm to using npm config set registry=http://0.0.0.0:8005/ instead of proxying which sidesteps the ssl issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working npm
Projects
None yet
Development

No branches or pull requests

1 participant