-
I figured out I need pnpm and then > [email protected] build /Users/juhovepsalainen/Projects/github/svg2png-wasm
> run-s build:*
> [email protected] build:wasm /Users/juhovepsalainen/Projects/github/svg2png-wasm
> wasm-pack build --target web --out-dir dist-wasm && npm run copy-wasm
[INFO]: 🎯 Checking for the Wasm target...
Error: wasm32-unknown-unknown target not found in sysroot: "/usr/local/Cellar/rust/1.66.0"
Used rustc from the following path: "/usr/local/bin/rustc"
It looks like Rustup is not being used. For non-Rustup setups, the wasm32-unknown-unknown target needs to be installed manually. See https://rustwasm.github.io/wasm-pack/book/prerequisites/non-rustup-setups.html on how to do this. It feels like I'm missing something obvious or I skipped a step. Do you know how to get the Rust portion going? |
Beta Was this translation helpful? Give feedback.
Answered by
ssssota
Jan 7, 2023
Replies: 1 comment 1 reply
-
Thank you for your question. You will need to install Rust for development. Please follow steps 1 and 2 below: https://rustwasm.github.io/docs/wasm-pack/quickstart.html |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bebraw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for your question.
You will need to install Rust for development.
Please follow steps 1 and 2 below: https://rustwasm.github.io/docs/wasm-pack/quickstart.html