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
Feature request: possibility to work completely offline #254
Comments
offline build is also needed for nixos Lines 102 to 106 in 18f4cbe
the files in dist.downloaded ( so the hardest part is getting the dist.internalPath new (require('cmake-js')).Dist().internalPath == "/home/user/.cmake-js/node-x64/v16.8.0" |
Why not considered the definition of npm_config_nodedir variable that is use in other build systems like node-gyp and electron-gyp? They allow the definition of this variable thought |
Ty for #260 Can you confirm that it solves your issue there? |
It solves the issue. |
I have a project where the build must be performed completely offline and only audited components can be used during the build. We have been developing some native NodeJS modules, and we are trying to use CMake instead of node-gyp. However, looks like that if "cmake-js compile" is executed during the "install" script, it always tries to download the runtime instead of looking for common places where it could be already located.
It should be possible to control the dependencies that cmake-js is using without unexpected surprises.
The text was updated successfully, but these errors were encountered: