win32-x64 binaries cannot be used on the 'linux-x64' platform
Asked Answered
R

0

6

'win32-x64' binaries cannot be used on the 'linux-x64' platform got this error while installing node sharp on windows system. This is breaking my lambda code on aws while execution.

Resinate answered 26/12, 2019 at 10:15 Comment(6)
Tried npm uninstall sharp and then install again, still getting the same issueResinate
Installed sharp using ubuntu zipped it, still got error /var/task/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42: file too shortResinate
package.json { "name": "resize", "version": "1.0.0", "description": "image resizer", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Ankit", "license": "ISC", "dependencies": { "serverless-plugin-tracing": "^2.0.0", "sharp": "^0.23.4" } }Resinate
I'm having the same issue. I can sorta understand the error message, but no idea how to work around it on AWS.Velvavelvet
Did you people solve the problem? I am facing the same issueBeatitude
Still running into it. Says delete node_modules/sharp...Weaponry

© 2022 - 2024 — McMap. All rights reserved.