-
Currently blocked on migrating to PnP because sharp doesn't support yarn pnp. I'm on an M1 mac, and node 20.9.0. This error happens on yarn 3.7.0 and yarn 4.0.2. The actual install/build seems to work fine, and I can see the built files in the unplugged directory: It is only at runtime when the error is thrown: /Users/cjr/dev/.yarn/unplugged/sharp-npm-0.33.0-e95e460cd9/node_modules/sharp/lib/sharp.js:85 Error: Could not load the "sharp" module using the darwin-x64 runtime |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Please see lovell/sharp#3888 for a possible future solution. |
Beta Was this translation helpful? Give feedback.
sharp v0.33.1 provides support for yarn PnP