-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Hello,
During npm install within application which uses canvas, I am facing below issue:
gyp: Call to 'pkg-config cairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
Devbox version: 0.13.5
Here is my devbox.json:
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": [
"[email protected]",
"nodejs@18",
"pkg-config@latest",
"cairo@latest",
"pango@latest",
"libpng@latest",
"giflib@latest",
"librsvg@latest",
"libjpeg@latest",
"pixman@latest"
],
"env": {
"DEVBOX_COREPACK_ENABLED": "true"
},
"shell": {
"init_hook": [],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}
Maybe anyone has an idea what could be an issue ? Or how to fix it?
Prince527GitHub