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

Check if downloaded binary package actually contains a valid lib.node #265

Closed
recrsn opened this issue Feb 19, 2017 · 2 comments
Closed

Comments

@recrsn
Copy link

recrsn commented Feb 19, 2017

Currently node-pre-gyp does not validate whether a downloaded package actually contains a valid compiled binary.

The npm install succeeds as node-pre-gyp assumes all download files have a binary in them. But all breaks when the library is required from a script.

When automating things from travis, it might happen that the node binding file is missing but the file is uploaded, for various reasons. Or the file may incompatible.
This error should be shown in bold warnings.

@reconbot
Copy link

reconbot commented Feb 19, 2017 via email

@recrsn
Copy link
Author

recrsn commented Feb 19, 2017

Yeah I looked into the code and found that. But for some reason it is not happening with bcrypt

@recrsn recrsn changed the title Check if downloaded binary package actually contains a lib.node Check if downloaded binary package actually contains a valid lib.node Jul 7, 2017
@recrsn recrsn closed this as completed Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants