샘플
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
케이스
- 목표
- 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
- 패키지
- sharp 0.33.5
- 환경
- node
- 생성일
- 2026-08-14T22:43:14Z
컨트랙트
- 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
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-14 · ed25519:ac1544ece1e22594