strapi-docker icon indicating copy to clipboard operation
strapi-docker copied to clipboard

Error: 'win32-x64' binaries cannot be used on the 'linux-x64' platform.

Open leonelos-dev opened this issue 2 years ago • 1 comments

Hi, I'm using windows 10 with docker. But I keep getting the following error:

Error: 'win32-x64' binaries cannot be used on the 'linux-x64' platform. Please remove the 'node_modules/sharp/vendor' directory and run 'npm install'.

I removed node_modules/sharp/vendor, then npm install. However the issue is still there.

Please I need help

leonelos-dev avatar Apr 06 '22 15:04 leonelos-dev

looking for a solution as well. can't dockerify strapi, because the host computer is on windows and default solution for dockerization suggest copy-paste package-lock.json file

Sevser avatar Jan 23 '24 16:01 Sevser