-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
post install script fails when behind proxy because node-fetch does not support standard proxy environment variables (like HTTP_PROXY) #349
Comments
Don't give up so easily :) There are other, simpler ways to install vacuum if you can't use node. |
We can't fix the node-fetch issue, so please, try another way to install vacuum, the easiest.. is via CURL.
|
but i want to install it as part of my node.js project. what is your suggestion? |
would you mind if i contribute a change to the code to use some other library instead of node-fetch? so that this can be native to javascript? |
Of course! What library do you intend to swap it out for? This is why vacuum is opensource! So we can all make it better together. |
i think that most simple way will be to use axios for this. it is well adopted and works well with such configuration. |
FYI your work is nothing less than amazing :) |
Thank you, so very much! I really appreciate that. |
in case of running against an organizational proxy, it is not possible to install the project due to the use of node-fetch that does not support this.
vacuum/npm-install/postinstall.js
Line 3 in 7e02093
The text was updated successfully, but these errors were encountered: