-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 0.32.6 seems to be broken #29
Comments
[REEVALUATING] - version rollback keeps failing, maybe something else has impact |
Also using 0.32.1 |
Ditto, {
"timestamp": "2024-02-15T21:57:18.474Z",
"level": "ERROR",
"message": {
"errorType": "Error",
"errorMessage": "Could not load the \"sharp\" module using the linux-arm64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n npm install --include=optional sharp\n yarn add sharp --ignore-engines\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=arm64 sharp\n- Consult the installation documentation:\n See https://sharp.pixelplumbing.com/install",
"stackTrace": [
"Error: Could not load the \"sharp\" module using the linux-arm64 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:",
" See https://sharp.pixelplumbing.com/install#cross-platform",
"- Add platform-specific dependencies:",
" npm install --os=linux --cpu=arm64 sharp",
"- Consult the installation documentation:",
" See https://sharp.pixelplumbing.com/install",
" at Object.257 (/opt/nodejs/node_modules/sharp/index.js:10119:9)",
" at __webpack_require__ (/opt/nodejs/node_modules/sharp/index.js:10447:41)",
" at Object.7300 (/opt/nodejs/node_modules/sharp/index.js:5406:1)",
" at __webpack_require__ (/opt/nodejs/node_modules/sharp/index.js:10447:41)",
" at Object.1842 (/opt/nodejs/node_modules/sharp/index.js:5854:15)",
" at __webpack_require__ (/opt/nodejs/node_modules/sharp/index.js:10447:41)",
" at /opt/nodejs/node_modules/sharp/index.js:10464:37",
" at Object.<anonymous> (/opt/nodejs/node_modules/sharp/index.js:10467:12)",
" at Module._compile (node:internal/modules/cjs/loader:1376:14)",
" at Object.Module._extensions..js (node:internal/modules/cjs/loader:1435:10)"
]
}
} |
Well I can confirm that I get the same error message as @grant-d when trying to setup my lambda layer with version edit: |
@omersimsek29 btw I never did figure it out, I have just stuck with the old version for now. |
I tried to download the version 0.32.6 and use it in my layer, but it got an error.
downgrading the zip to 0.32.1 worked fine. So maybe there is a problem with this build?
I'm using node18.x with X86_64. and deploying it with the sst example app here: https://github.com/sst/sst/tree/master/examples/bucket-image-resize
My problem is already solved, so I wont be able to follow this issue.
Feel free to close it when solved.
The text was updated successfully, but these errors were encountered: