question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sharp still requires brew for OS X / macOS Sierra

See original GitHub issue

UPDATE: See answer below BUT you can use lipo as an alternative to sharphttps://lipo.io


Myself and 3 others had the issue https://github.com/ladjs/lad/issues/258

Library not loaded: @rpath/libvips-cpp.42.dylib

We are all on Mac OS X or macOS Sierra platforms.

To workaround this, we had to run:

brew install homebrew/science/vips --with-webp --with-graphicsmagick

Then rm -rf node_modules/sharp and yarn install again to recompile.

I think that the installation instructions need updated.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
ifiokjrcommented, Sep 27, 2018

This issue cropped up for me after updating to macOS Mojave. I had been using sharp without issues prior to this.

A variation of the first comment worked for me.

brew  install vips --with-webp --with-graphicsmagick
rm -rf node_modules && yarn;
1reaction
lovellcommented, Sep 8, 2017

@goldo Thanks, I don’t believe this problem and #937 are related, so have re-opened the latter for separate tracking.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Missing Package Manager for macOS (or Linux ...
The Missing Package Manager for macOS (or Linux). ... Homebrew installs the stuff you need that Apple (or your Linux system) didn't. $...
Read more >
Install .NET on macOS - Microsoft Learn
Common assembly require libgdiplus to be installed. An easy way to obtain libgdiplus is by using the Homebrew ("brew") package manager for macOS...
Read more >
Cant get GTK Themes to run on OS X - Stack Overflow
I am running OSX Mavericks with Homebrew and I am trying to get a GTK theme running which requires the murrine engine.
Read more >
How To Code Using The C# Programming Language On Mac
C# (pronounced “c-sharp”) is a great coding language that works across Mac and PC. Programmers use it to build a variety of software ......
Read more >
Gutenprint and Gimp-Print for Mac OS X (10.2 through 10.14)
Gutenprint 5.2.12 provides full support for Macintosh OS X 10.12 (Sierra). ... Gutenprint 5.0.2 and Gimp-Print 4.2.7 for Mac require Mac OS X...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found