Replies: 1 comment 1 reply
-
I always start with removing node_modules and package locks. If that doesn't work you can try using the included docker configuration to rule out something specific to your environment. Another option is to try a different package manager like pnpm or yarn 1.x What version of node and npm are you on? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have an error when installing payloadCMS. I tried to change the node version but nothing happening. I need some help. Thanks
env: wsl ubuntu22.04
cmd: npm install payload
result:
npm ERR! code 1
npm ERR! path /home/heriky/Code/next/digitalhippo/node_modules/payload/node_modules/sharp
npm ERR! command failed
npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm ERR! sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br
npm ERR! sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm ERR! sharp: Installation error: aborted
Beta Was this translation helpful? Give feedback.
All reactions