Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm-bindgen command provided is not valid #235

Open
rparrett opened this issue Oct 5, 2023 · 0 comments
Open

wasm-bindgen command provided is not valid #235

rparrett opened this issue Oct 5, 2023 · 0 comments
Labels
C-bug-misleading Wrong or misleading information in the book P-web Platform: Web Browser S-platforms Content about developing for a specific target platform Z-small small task that should be quick to do

Comments

@rparrett
Copy link

rparrett commented Oct 5, 2023

In the "run" subsection of:

https://bevy-cheatbook.github.io/platforms/wasm.html#wasm-bindgen

Running the command

wasm-bindgen --out-dir ./out/ --target web ./target/

results in the error:

error: failed reading './target/'

wasm-bindgen is expecting the path to a wasm file, e.g. ./target/wasm32-unknown-unknown/release/myproject.wasm.

Maybe this was intended as more of a "command template," but the page doesn't offer any sort of instructions related to making the command actually work.

@inodentry inodentry added C-bug-misleading Wrong or misleading information in the book S-platforms Content about developing for a specific target platform P-web Platform: Web Browser Z-small small task that should be quick to do labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug-misleading Wrong or misleading information in the book P-web Platform: Web Browser S-platforms Content about developing for a specific target platform Z-small small task that should be quick to do
Projects
None yet
Development

No branches or pull requests

2 participants