You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo install wasm-pack
# navigate to folder to run wasm tests
wasm-pack test --headless --firefox
Leads to:
[INFO]: Getting geckodriver...
warning: /Users/jameswilson/Work/subxt/signer/Cargo.toml: unused manifest key: dependencies.codec.package
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
Running tests/wasm.rs (target/wasm32-unknown-unknown/debug/deps/wasm-4b989a005c9981c4.wasm)
Set timeout to 20 seconds...
Error: failed to spawn "/Users/jameswilson/Library/Caches/.wasm-pack/geckodriver-5a3d64f9bfa379e5/geckodriver" binary
Caused by:
Bad CPU type in executable (os error 86)
error: test failed, to rerun pass `--test wasm`
When I run file /Users/jameswilson/Library/Caches/.wasm-pack/geckodriver-5a3d64f9bfa379e5/geckodriver I see:
Hey there!
Running:
Leads to:
When I run
file /Users/jameswilson/Library/Caches/.wasm-pack/geckodriver-5a3d64f9bfa379e5/geckodriver
I see:The binary should be
arm64
, so I suspect it's downloading a precompiled one but for the wrong platform.(as an aside,
wasm-pack test --headless --chrome
runs without issue)Let me know if I can provide any more information to help!
The text was updated successfully, but these errors were encountered: