Libvips binaries error on Docker installation
See original GitHub issueI’m using docker container and install sharp directly to the container during building image, why i’m came across this error?
win32-x64' binaries cannot be used on the 'linuxmusl-x64' platform. Please remove the 'node_modules/sharp/vendor' directory and run 'npm install.
host os: Windows 10 64x
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Express Sharp install via Docker issue - Stack Overflow
I am implementation all steps. Error: 'linux-x64' binaries cannot be used on the 'linuxmusl-x64' platform. Please ...
Read more >Install Docker Engine from binaries
This page contains information on how to install Docker using binaries. ... This topic discusses binary installation for Linux, Windows, and macOS:.
Read more >Error when trying to create local project (without docker) fails ...
See below error: Installing Node Packages ... npm WARN deprecated ... ERR! sharp Prebuilt libvips 8.10.0 binaries are not yet available for ...
Read more >Docker on Apple Silicon M1 - updated in March 2022 - AirTips
#9 72.58 error /app/node_modules/sharp: Command failed. #9 72.58 Exit code: 1 #9 72.58 Command: (node install/libvips && node ...
Read more >Installing on macOS with homebrew - libvips
The Windows binary is built by build-win64-mxe. This is a containerised mingw build system: on any host, install Docker, clone the project, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@polarathene my guess is that the problem was with the volume mounting, probably i’ve made mistake while mounting node_modules to the container. dependencies installed correctly inside container, but after mounting was overwritten with the local directory. I’ll check it out later
I’m actually having the same issue, running my project inside a container with a mounted volume. I can see that the
npm install
inside the docker container install the correct version:And yet when the container starts I get this error
I also did put the
node_modules
folder in the.dockerignore
file, but my project it still seems to read from my host machine that the docker container