Ejemplo
Loading sharp on Alpine Linux container throws a platform-mismatch Error referencing @img/sharp-linuxmusl-x64 rather than MODULE_NOT_FOUND or source build instructions
sha256:f4af22133f738d32b90cd249f5dcb917f730166e3c3f56798bd99e9893fce8a6
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Loading sharp on Alpine Linux container throws a platform-mismatch Error referencing @img/sharp-linuxmusl-x64 rather than MODULE_NOT_FOUND or source build instructions HOW
- Paquetes
- sharp 0.33.5
- Entorno
- node
- Creado
- 2026-08-14T22:43:14Z
Contrato
- assert prebuilt platform identifier for Alpine is linuxmusl-x64 rather than alpine-x64 or linux-musl-x64
- assert missing platform package throws custom Error with undefined code rather than MODULE_NOT_FOUND
- assert error message suggests npm install --os=linux --libc=musl --cpu=x64 sharp instead of node-gyp rebuild
Archivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-14 · ed25519:ac1544ece1e22594