-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
While using the docker-compose up environment setup, I receive the following warning (not sure if it's relevant) and error on my m1 mac:
=> ERROR [rust-builder 22/31] RUN wasm-pack build --release --scope maticoapp
#0 384.1 warning: be sure to add `/root/.cache/.wasm-pack/.wasm-bindgen-cargo-install-0.2.81/bin` to your PATH to be able to run the installed binaries
#0 384.2 Error: no prebuilt wasm-opt binaries are available for this platform: Unrecognized target!
#0 384.2 To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.
------
failed to solve: executor failed running [/bin/sh -c wasm-pack build --release --scope maticoapp]: exit code: 1
This seems to be related to this issue with wasm-pack: drager/wasm-pack#913.
It looks like it was addressed in wasm-pack v0.10.2: https://github.com/rustwasm/wasm-pack/releases/tag/v0.10.2
I'm not able to definitively determine which version of wasm-pack Matico is using, but it looks like in the Dockerfile that it's pulling the latest version from the wasm-pack github repo (I could be misinterpreting that though). If that's the case, not sure why this error would occur.
Metadata
Metadata
Assignees
Labels
No labels