sharp
https://gyazo.com/654ce6f73bbbbc9e02538620c6053af1
依存関係の問題でruntime error出がち
code:error
Unhandled Runtime Error
Error: Could not load the "sharp" module using the darwin-x64 runtime
Possible solutions:
- Ensure optional dependencies can be installed:
npm install --include=optional sharp
yarn add sharp --ignore-engines
- Ensure your package manager supports multi-platform installation:
- Add platform-specific dependencies:
npm install --os=darwin --cpu=x64 sharp
- Consult the installation documentation:
npm v10以上で
$ npm install --os=darwin --cpu=x64 sharp
とかを実行したら動いた