You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using sharp in electron I got an error.
In previous version the error message indicate the commands to fix the issue on npm and yarn, now only for npm
What would you expect the API to look like?
Write the solution for yarn : yarn add sharp --ignore-engines
Ideally for pnpm as well.
What alternatives have you considered?
Would be great if it works out of the box on electron but it seems difficult.
Please provide sample image(s) that help explain this feature
When using sharp in Electron : Uncaught Exception: Error: Could not load the "sharp" module using the darwin-arm64 runtime
after yarn add sharp --ignore-engines it works.
The text was updated successfully, but these errors were encountered:
Feature request
What are you trying to achieve?
When using sharp in electron I got an error.
In previous version the error message indicate the commands to fix the issue on
npm
andyarn
, now only fornpm
What would you expect the API to look like?
Write the solution for
yarn
:yarn add sharp --ignore-engines
Ideally for pnpm as well.
What alternatives have you considered?
Would be great if it works out of the box on electron but it seems difficult.
Please provide sample image(s) that help explain this feature
When using sharp in Electron :
Uncaught Exception: Error: Could not load the "sharp" module using the darwin-arm64 runtime
after
yarn add sharp --ignore-engines
it works.The text was updated successfully, but these errors were encountered: