This repository is to reproduce a strange behavior related to sharp and binaries associated.
The index.js
has the necessary code to see the issue. For reproducing it, clone the repository and do:
npm run build && npm start
The code is using 3 software components:
splashy > node-vibrant > sharp
splashy is essentialy some code commodity on top of node-vibrant.
node-vibrant is used as adapter layer to call sharp.
and [sharp] is the root of problems!
Looks like sharp binary is missing in some way (maybe the sub dependency binary is not missing, but the behavior is different) causing the code doesn't work properly with ico
files.
This is a SUCCESS code report after running the repo on my local machine. However, it FAILED If I run using docker image.