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
Is http(s)_proxy supported? #293
Comments
If you have come here, the answer is no. |
Maybe you can manage with the 'offline mode' #260? I will happily accept a PR that changes |
Answer does not seems obvious: request/request#3143 |
Probably, but the PR does not really give any example. If I understand, some other tool will download the header files, and I just tell |
That PR predates my involvement in the project, so I can't really add much more than is in that PR. From a quick run to see what it downloads, it looks like it is for me creating Another option to consider is that if you are using cmake-js v7, if you can make your project be node-api based instead of nan based, then it won't need to download any headers. |
Hi I have tried again to use
I am using 7.2.1 and my project is Maybe I did not tell it that my project is indeed In the |
I appear to have not documented that in the readme, only the release notes for 7.0 Add this to your package.json, with the correct napi_version value. "binary": {
"napi_versions": [7]
}, I feel like I should redo how this 'detection' works, but need a strategy for figuring it out. Perhaps the presence of |
Its a case of not knowing where to find them, and the paths varying by platform and by version manager, with no guarantee of finding them. Last time I checked node-gyp (the official module build tool) it was always performing downloading, so I am not aware of any prior art we can learn from. As this downloading is only needed for non node-api modules, rather than trying to improve this I think it would make more sense to put effort into making sure the node-api flow detects different setups better. Perhaps in v8 it should be switched to assume it is node-api unless it detects otherwise. I am not aware of any good reason to make non node-api modules anymore, other than existing modules which haven't been able to justify the work to port. |
Thanks. That made a big difference. |
Hi
I am behind a proxy and I cannot get started with
cmake-js build
What I get is
Note that the proxy is set up properly because
wget
can download the file with no problemsThe text was updated successfully, but these errors were encountered: