#include <glib-object.h> vips/vips8
See original GitHub issuenpm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../src/common.cc:24:0:
npm ERR! /usr/include/vips/vips8:35:10: fatal error: glib-object.h: No such file or directory
npm ERR! #include <glib-object.h>
npm ERR! ^~~~~~~~~~~~~~~
npm ERR! compilation terminated.
npm ERR! make: *** [Release/obj.target/sharp/src/common.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/var/www/vhosts//node_modules/node-gyp/lib/build.js:262:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:375:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
npm ERR! gyp ERR! System Linux 4.15.0-88-generic
npm ERR! gyp ERR! command "/usr/local/bin/node" "/var/www/vhosts/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /var/www/vhosts//node_modules/sharp
npm ERR! gyp ERR! node -v v14.17.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
What is the output of running npx envinfo --binaries --system?
System:
OS: Linux 4.15 Ubuntu 18.04.5 LTS (Bionic Beaver)
CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
Memory: 7.77 GB / 62.90 GB
Container: Yes
Shell: 4.4.20 - /bin/bash
Binaries:
Node: 14.17.1 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.13 - /usr/local/bin/npm
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
usr/include/vips/vips8:35:10: fatal error: glib-object.h - GitHub
I have installed libvips-dev , and all of its dependencies have been met, including libglib2.0-dev . /usr/include/glib-2.0/glib-object.h also ...
Read more >Installing Sharp /usr/include/vips/vips8:35:25: fatal error: glib ...
So, I figured out what package glib-object.h belongs to and tried to install it, but it was already installed. In fact, the file...
Read more >Ubuntu – Installing Sharp /usr/include/vips/vips8:35:25: fatal error ...
Ubuntu – Installing Sharp /usr/include/vips/vips8:35:25: fatal error: glib-object.h. glibnpmsharpubuntuvips. I am trying to install sharp on Ubuntu 16.04 ...
Read more >Installing npm package is having and issue related with sharp ...
The needed file glib-object.h is located in libglib2.0-dev package (see search results from packages.ubuntu.com). Install it with
Read more >libvips-dev_8.7.4-1+deb10u1_arm64.deb - Debian PKGS.org
VIPS consists of two main components: an image processing library with some command-line tools and a spreadsheet-like graphical user interface. The graphical ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Looks like it! Thanks for finding that.
On Fri, Jul 2, 2021, 1:14 AM Lovell Fuller @.***> wrote:
@dpkirchner I think you’ve run into https://github.com/npm/cli/issues/2606