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

yarn dev fails rust react #296

Closed
amiyatulu opened this issue May 7, 2020 · 4 comments · Fixed by #389
Closed

yarn dev fails rust react #296

amiyatulu opened this issue May 7, 2020 · 4 comments · Fixed by #389
Assignees
Labels
bug Something isn't working devx P0

Comments

@amiyatulu
Copy link

amiyatulu commented May 7, 2020

yarn dev gives the following error for rust react app

13 info lifecycle new-awesome-app@0.1.0~dev:deploy:contract: Failed to exec dev:deploy:contract script
14 verbose stack Error: new-awesome-app@0.1.0 dev:deploy:contract: `near dev-deploy --wasmFile ./contract/res/status_message.wasm`
14 verbose stack Exit status 1

cp: no such file or directory: ./target/wasm32-unknown-unknown/release/status_message.wasm
@amiyatulu
Copy link
Author

Worked after running this command
rustup target add wasm32-unknown-unknown

https://docs.near.org/docs/roles/developer/contracts/near-sdk-rs

@janedegtiareva
Copy link
Contributor

Thank you for reporting! It looks like we don't have this step documented in the README. We'll make the necessary fixes.

@janedegtiareva
Copy link
Contributor

This is an easy documentation fix.

@chadoh
Copy link
Contributor

chadoh commented Jul 10, 2020

Thanks for the report, @amiyatulu ! This was implemented in #389 and will be shipped with version 1.1.0 within the next couple days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working devx P0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants