Closed brianbruggeman closed 3 years ago
Thanks for very detailed description and reproducible steps, it was very helpful. I've just pushed fixes, let me know if it works for you.
This definitely improves the ergonomics of the installation process. Thank you!
I think the documentation should also include:
Additionally, I think that the script should explicitly set CARGO_TARGET_DIR if it's not set:
Finally, I think a screenshot of a working version would be handy so I know what to expect. Given no explicit debug information, it seems like this is just dead on arrival for me.
Reproducible Steps:
Uninstall wasm-bindgen
Uninstall basic-http-server
Unset CARGO_TARGET_DIR
Then follow along below
Followed along with:
And it failed with:
So just to make sure, I ran:
Assumption here is that there's a step missing to install
wasm-bindgen
.Googling, it sounds like I could just install wasm-bindgen-cli:
Once it's installed, the
wasm-bindgen
command above passed. However, I needed to explicitly addCARGO_TARGET_DIR
to my environment:The next blocker was lacking basic-http-server. This was resolved with
cargo install basic-http-server
.After installing and setting up, I was greeted with an empty page. I'm not sure what I should be expecting.