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
Unable to build sharp on node@9 #1008
Comments
Hello, this is caused by the The forthcoming sharp v0.19.0 will increment the major version of the |
Hi @lovell |
@ram-you When libvips v8.6.0 is released the prebuilt binaries can be created and some final leak testing will be carried out. This issue is tagged as v0.19.0 so you will be alerted when it is published. |
@lovell libvips v8.6.0 was released last week. |
I'm at the "leak testing" stage for the forthcoming v0.19.0 and it has uncovered something I hope is a false-positive but needs investigating before release. |
sharp v0.19.0 will wait for and depend on the forthcoming libvips v8.6.1 as it will include the fix for a memory leak discovered in v8.6.0 - see https://github.com/jcupitt/libvips/pull/835 |
Why this waits for libvips when it's not related to it? Is there a reason not to publish a patch version? |
@enzy Hello, I've been focused on getting sharp v0.19.0 and libvips v8.6.1 released. Is there a specific feature of Node 9 (vs Node 8) useful to users of sharp that should divert this attention? |
Memory leak testing has revealed there's a possible problem in librsvg v2.40.20 that sharp v0.19.0 would expose - see https://gitlab.gnome.org/GNOME/librsvg/merge_requests/2 for a proposed upstream fix. |
With |
The packaging scripts have been updated to include the Rust toolchain and the latest librsvg - see lovell/sharp-libvips@d4d2019 - so you can expect v0.19.0 within the next day or so. |
sharp v0.19.0 with libvips v8.6.1 as a dependency is now available. |
Thanks for all the hard work 👍 |
Still getting this error on v0.19.0
|
@du5rte This issue was about Node v9 support but your report states Node v6.11.2. You'll probably need to upgrade node-gyp for MSVC 2017 support |
We've enabled
node@9
on our travis build and it failed while trying to install sharp:https://travis-ci.org/piobyte/flamingo/jobs/295751049#L5352-L5409
relevant error log:
The text was updated successfully, but these errors were encountered: