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
Hey! Not a real issue as i know your stuff is working and is lovely...
But one of the recent version bumps started including sharp and sharp is a bit of a native beast, not as lightweight a fit running in AWS lambda for instance (and hence this update is not compatible with our env anymore). Here is the stack if you're curious:
app-logs | 2024-10-11T15:09:18 {"timestamp":"2024-10-11T15:09:18.406Z",
"level":"ERROR","message":{"errorType":"Error","errorMessage":"Could not load
the \"sharp\" module using the linux-x64 runtime\nPossible solutions:\n- Ensure
optional dependencies can be installed:\n npm install --include=optional
sharp\n- Ensure your package manager supports multi-platform installation:\n
See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific
dependencies:\n npm install --os=linux --cpu=x64 sharp\n- Consult the installation
documentation:\n See https://sharp.pixelplumbing.com/install","stackTrace":["Error:
Could not load the \"sharp\" module using the linux-x64 runtime","Possible solutions:","-
Ensure optional dependencies can be installed:"," npm install --include=optional sharp",
"- Ensure your package manager supports multi-platform installation:","
See https://sharp.pixelplumbing.com/install#cross-platform","- Add platform-specific dependencies:","
npm install --os=linux --cpu=x64 sharp","- Consult the installation documentation:","
See https://sharp.pixelplumbing.com/install","
at node_modules/.pnpm/[email protected]/node_modules/sharp/lib/sharp.js (/var/task/index.js:20894:13)","
at __require (/var/task/index.js:9:50)","
at node_modules/.pnpm/[email protected]/node_modules/sharp/lib/constructor.js (/var/task/index.js:20906:5)","
at __require (/var/task/index.js:9:50)","
at node_modules/.pnpm/[email protected]/node_modules/sharp/lib/index.js (/var/task/index.js:25095:17)","
at __require (/var/task/index.js:9:50)","
at node_modules/.pnpm/[email protected]/node_modules/ndarray-pixels/dist/ndarray-pixels-node.cjs
(/var/task/index.js:26125:17)","
at __require (/var/task/index.js:9:50)","
at node_modules/.pnpm/[email protected]/node_modules/colorthief/dist/color-thief.js
(/var/task/index.js:29300:25)"," at __require (/var/task/index.js:9:50)"]}}
I plan on pinning at 2.4 for now but may migrate away/fork - just wanted to post for awareness or any tips or suggestions you have. Love your lib so hope to keep using!
The text was updated successfully, but these errors were encountered:
Hey! Not a real issue as i know your stuff is working and is lovely...
But one of the recent version bumps started including
sharp
and sharp is a bit of a native beast, not as lightweight a fit running in AWS lambda for instance (and hence this update is not compatible with our env anymore). Here is the stack if you're curious:I plan on pinning at 2.4 for now but may migrate away/fork - just wanted to post for awareness or any tips or suggestions you have. Love your lib so hope to keep using!
The text was updated successfully, but these errors were encountered: