-
Notifications
You must be signed in to change notification settings - Fork 146
Hang on Downloading Distribution Files #90
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
Comments
I have a similar issue. In my case it is a corporate proxy which blocks the calls made by the http client from the 'request' module. Any chance we can get a proxy setting for cmake-js? |
This bug is making it impossible for me to upgrade also. Why are the "distribution files" not packaged with the node module? I suppose every version would make the package large, but there needs to be a way to use this offline. Maybe if they are already on the system then don't attempt to download? Or maybe pass it an optional url as an argument? |
Update: I may have found a workaround - you can manually set up the "~/.cmake-js" directory with the extracted node headers and then cmake-js won't try to go and download them if they are already there. |
i am also facing same issue.. |
You should put a package.json file in you module / project directory to make CMake.js work as expected. Let me know if it helps. |
In node-gyp, you can specify a $ mkdir -p ~/.cmake-js/node-x64/$(node -v)
$ ln -s $(npm get nodedir)/include ~/.cmake-js/node-x64/$(node -v)/include It would be nice if this were made an official feature of cmake-js, and documented. |
I have a project that builds with cmake-js and when setting it up on a new machine I am getting a hang on the "Downloading Distribution Files" step, I turned on silly logging to attempt to debug it but it gave no extra information for that step. Here is the dump. I can
wget
the file that it is talking about just fine so I dont know why it would be hanging. Did something change with the URLs?The text was updated successfully, but these errors were encountered: