Git Product home page Git Product logo

Comments (6)

lovell avatar lovell commented on May 29, 2024 2

Thanks for the suggestion, this is a good idea for more advanced users that are comfortable building their own custom libvips. I've added it via commit 579cf93

An alternative fail-fast technique might be to pass the --build-from-source flag and then remove the node_modules/@img directory (or somehow block it in the first place).

from sharp.

TransRapid avatar TransRapid commented on May 29, 2024

I had to kill my terminal sessions, installed and removed both sharp locally and as root, then, installed it locally again using the following:

npm install sharp --build-from-source --verbose --foreground-scripts
Restarting my Terminal session and then running the above again resolved the issue. Let me know if you need any other info, or if anyone else needs assistance.

Original Below:

I think this issue is the cause of
#2518.
and
#4050

Unfortunately it did not resolve the issue of unsupported codec for heif. I can manually do it through vips copy image.heic image.jpeg.

pkg-config --modversion vips-cpp
8.16.0
which vips
/usr/local/bin/vips
/usr/local/bin/vips --vips-version
libvips 8.16.0

from sharp.

lovell avatar lovell commented on May 29, 2024

@TransRapid Please see https://sharp.pixelplumbing.com/install#building-from-source for the prerequisite dependencies that are required to be able to build sharp from source. If you are still having problems, please open a new installation issue and answer all of the questions.

(I note you are compiling libvips from source control rather than using a published version. Please remember this is not yet released and therefore has not yet been fully tested with sharp so you may have run into a separate problem.)

from sharp.

lovell avatar lovell commented on May 29, 2024

v0.33.4 now available with support for SHARP_FORCE_GLOBAL_LIBVIPS.

from sharp.

TransRapid avatar TransRapid commented on May 29, 2024

Thanks for the update. I found that installing a standard install, and removing, and then doing a build from source right after was a strange, but consistent workaround that solved it for me.

from sharp.

lovell avatar lovell commented on May 29, 2024

@TransRapid If you are still having problems, please open a new installation issue and answer all of the questions.

from sharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.