bytecodealliance / bytecodealliance/wizer

Support alpine prebuild

Open
#93 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.1k
Forks
64
PR merge metrics
No merged PRs in 30d

Description

Hi
when I want to install @fastly/js-compute on Alpine Linux, it says wizer not found!
```
yarn build:app
> js-compute-runtime app/index.js
/app/node_modules/@bytecodealliance/wizer-linux-x64/wizer: not found
Error: Failed to compile JavaScript to Wasm: Wizer initialization failure
```

this is the content of wizer node_module dir
```
ls -lrth node_modules/@bytecodealliance/wizer/

total 40K
-rwxr-xr-x 1 root root 853 Jun 25 15:47 wizer.js
-rw-r--r-- 1 root root 5.5K Jun 25 15:47 update.js
-rw-r--r-- 1 root root 1.1K Jun 25 15:47 package.json
-rw-r--r-- 1 root root 968 Jun 25 15:47 package-helpers.js
-rw-r--r-- 1 root root 727 Jun 25 15:47 index.js
-rw-r--r-- 1 root root 332 Jun 25 15:47 README.md
-rw-r--r-- 1 root root 12.0K Jun 25 15:47 LICENSE.md
```

based on @JakeChampion 's [comment](https://github.com/fastly/js-compute-runtime/issues/411#issuecomment-1606319123)
this error occurred because Alpine uses musl libc, that's don't prebuilt by wizer.

Please add this!

**If you guide me, I can participate myself**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.