Sharp: Downloading libvips-8.6.1-win32-x64.tar.gz from github is too slow

Created on 20 Jun 2018  路  2Comments  路  Source: lovell/sharp

when i install sharp, it tell me will download libvips-8.6.1-win32-x64.tar.gz
but,
Downloading 路libvips-8.6.1-win32-x64.tar.gz路 from github is too slow, Is there a way to download it faster?
Every time you update sharp, you have to download it again. This is simply torture.
I think that when this package exists locally, it should not be downloaded again.

For network reasons, I often encounter the following error:
(node:13036) UnhandledPromiseRejectionWarning: ZlibError: zlib: unexpected end of file

question

Most helpful comment

Thank you very much. This content is very useful to me

All 2 comments

Hello, is this in mainland China? If so, you're not alone - see https://github.com/lovell/sharp-libvips/issues/5

Those files can be self-hosted and configured via the SHARP_DIST_BASE_URL environment variable - see http://sharp.pixelplumbing.com/en/stable/install/#pre-compiled-libvips-binaries

Thank you very much. This content is very useful to me

Was this page helpful?
0 / 5 - 0 ratings