-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unconditional Download during install breaks shrinkpack #3737
Comments
Did you see https://sharp.pixelplumbing.com/install#custom-prebuilt-binaries for installation from filesystem (e.g. when networking is unavailable)? |
Thank you for the pointer, I have read through it. I am just not sure if that could be integrated in an automatic way with shrinkpack, so that users of any derived package (not knowing about sharp) do not have to special case shrinkpack handling for an arbitrary number of dependencies. |
If you've not already seen it, you'll probably be interested in npm/rfcs#519 , which is a proposal to standardise how npm (and yarn etc. by extension) installs platform-specific binaries, similar to the concept of Python "wheels". Once this is available relatively widely then I plan that sharp will very much take full advantage. |
Please see also #3750 |
Preparing projects for reproducible builds or offline builds with shrinkpack breaks during offline installation if sharp is part of the (nested) dependency list. Installation fails as follows:
The shrinkpack README.md contains further motivational details. Please consider supporting this use case.
The text was updated successfully, but these errors were encountered: