8000 Guys and girls, how to build and run "Hello, World" program from the "Rust and WebAssembly" book? npm says that it could not find the executable file · Issue #73 · rustwasm/wasm-pack-template · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Guys and girls, how to build and run "Hello, World" program from the "Rust and WebAssembly" book? npm says that it could not find the executable file #73

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

Closed
drogan-v opened this issue Jun 3, 2024 · 3 comments
< 8000 div class="gh-header-shadow color-shadow-small js-notification-shelf-offset-top">
Labels
question Further information is requested

Comments

@drogan-v
Copy link
drogan-v commented Jun 3, 2024

➤ npm init wasm-app www
npm error could not determine executable to run

@drogan-v drogan-v added the question Further information is requested label Jun 3, 2024
@drogan-v
Copy link
Author
drogan-v commented Jun 3, 2024

I found this one:
#rustwasm/create-wasm-app#206 (comment)

@drogan-v drogan-v closed this as completed Jun 3, 2024
@zhangr4
Copy link
zhangr4 commented Jun 24, 2024

I found this one: #rustwasm/create-wasm-app#206 (comment)

@j4dzg3r I got the same issue here. Could you help provide mode details to resolve it. I don't know where to put --target web, should I run command like npm init wasm-app www --target web? really thanks

@drogan-v
Copy link
Author

This comment is about a workless repo. MDN has a topic about wasm and Rust, that can help you compile your program.https://developer.mozilla.org/ru/docs/WebAssembly/Rust_to_Wasm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants
0