Open lo-zed opened 6 days ago
Describe the bug
Installation fails
To Reproduce
pnpm i
Expected behavior
Installs without error.
Additional context
OS: Ubuntu 24.04 LTS node: v22.10.1 pnpm: 9.12.3
An example of error I get:
node_modules/sharp install$ (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy) └─ Failed in 283ms at /home/ubuntu/eliza/node_modules/sharp
Happens with @discordjs/opus & onnxruntime-node too, maybe others.
@discordjs/opus
onnxruntime-node
But if I go into the directory and install from there it works:
cd node_modules/sharp npm install
This doesn't throw any error and installs the package correctly.
Is this a bug on pnpm side?
pnpm
Did you try pnpm install --include=optional sharp ?
yes, same error unfortunately
issue created at pnpm repo too: https://github.com/pnpm/pnpm/issues/8737
Describe the bug
Installation fails
To Reproduce
pnpm i
Expected behavior
Installs without error.
Additional context
OS: Ubuntu 24.04 LTS node: v22.10.1 pnpm: 9.12.3
An example of error I get:
Happens with
@discordjs/opus
&onnxruntime-node
too, maybe others.But if I go into the directory and install from there it works:
This doesn't throw any error and installs the package correctly.
Is this a bug on
pnpm
side?