-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
node-pre-gyp #402
Comments
+1, this is hitting me especially hard in hosted CI environments. The rebuild step can easily take an extra 30 seconds, and rarely outright fails, because of the rebuild. |
I've never used |
@leedm777 and that exactly why I haven't looked at it yet. Ideally, this should be something that is solved & stored by npm instead of using these kind of hacks. I wonder if we could just create |
ws is getting ~1 million downloads from the NPM registry a month. The two binaries, bufferutil.node and validation.node, are 18kb each. Round that to 40kb per install. US Standard Out pricing is $0.090 / GB. http://aws.amazon.com/s3/pricing/ 40kb * 1 million * $0.090 / Gb = $28.80 / mo My company, ThirdCat LLC, would love to donate $500/year to cover those costs. |
@DavidSouther I'll see what I can do about. Now that we've got |
@3rd-Eden I've just gone through this same process for node-webrtc. I'd be happy to lend a hand if you'd like to move forward with pre-built binaries. |
@rosskukulinski I don't know if it makes sense to pursue this much longer as we moved away from a silly install script which should have been doing optionalDependencies to the actual optionalDependencies support in npm. The primary reason for this feature was to reduce build failures, which seems to be somewhat solved now. The only thing that I still want to explore is to either have |
Hi there, I've hunted around for a gitter or IRC to write this - but couldn't find anything, so please direct me elsewhere if there's a better place for this. I'm currently researching the feasibility of adding Essentially, I'd like to find out (sorry couldn't find this anywhere) what impact the optional dependencies failing has on functionality and whether it is going to cause confusion due to the error messages. More importantly I am wondering if you would consider there being a greater need, and be more interested in potentially using
|
@ErisDS the UI when something goes wrong is horrible, but the optional dependencies have no impact on the functionality of the module.
This nodejs/node#1010 (comment) explains why the optional Have you considered |
@ErisDS As @lpinca explained, the UTF-8 dependency is used to validate that we're receiving correct UTF8. If this module is not installed, it just accepts all the UTF8. This is not really a big problem as you should be always be validating user input in your application so your application logic will already cover this case. As for the bufferutil it provides the performance boost which makes If you are uncertain about the potential impact that ws will have I would suggest taking a look at As for the node-pre-gyp, I was hoping that this step would no longer be necessary now that |
Closing this as native addons are no longer dependencies of any kind. They must be installed separately. |
We should explore the possibility to pre-compile binaries using the node-pre-gyp library so people will have less failures when compiling code.
ht/ @lpinca
The text was updated successfully, but these errors were encountered: