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.

Improve installation experience when a globally-installed libvips below the minimum required version is found

See original GitHub issue
make: Entering directory '/var/www/videomail/staging/source/node_modules/sharp/build'                              
  TOUCH Release/obj.target/libvips-cpp.stamp             
  CXX(target) Release/obj.target/sharp/src/common.o      
In file included from ../src/common.cc:25:0:             
/usr/local/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory                         
 #include <glib-object.h>                                
          ^~~~~~~~~~~~~~~                                
compilation terminated.                                  
sharp.target.mk:120: recipe for target 'Release/obj.target/sharp/src/common.o' failed                              
make: Leaving directory '/var/www/videomail/staging/source/node_modules/sharp/build'                               
make: *** [Release/obj.target/sharp/src/common.o] Error 1 

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
asilvascommented, Mar 12, 2018

fyi I see this issue on mac osx as well. brew update vips resolved.

2reactions
lovellcommented, Mar 13, 2018

Commit 48c5f86 should make the installation experience a little smoother - this will be in v0.20.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Improve installation experience when a globally-installed libvips ...
Improve installation experience when a globally-installed libvips below the minimum required version is found.
Read more >
Gatsby new fails to install the sharp package and breaks
You can fix this by running the below in your terminal... rm -rf /Users/{username}/.npm/_libvips brew install vips rm -rf node_modules npm ...
Read more >
Changelog - High performance Node.js image processing
Reduce minimum Linux ARM64v8 glibc requirement to 2.17. ... Improve installation experience when a globally-installed libvips below the minimum required ...
Read more >
npm 7 is now generally available! - The GitHub Blog
We're announcing version 7 of the npm CLI is now generally available. ... changes are necessary to improve the overall developer experience.
Read more >
How to find the version of an installed npm package in node.js
Checking locally installed Node.js packages in a particular directory using the below command. npm ls. Output: Checking globally installed ...
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