multiversx / mx-ide-vscode

💻 VS Code extension for developing MultiversX Smart Contracts - Rust, C and C++.
MIT License
70 stars 36 forks source link

Failed to load source for dependency 'elrond-wasm' #36

Open TheCrypticCamel opened 2 years ago

TheCrypticCamel commented 2 years ago

Hello there,

I am trying to test launching different smart contracts on Elrond Network.. I have tried to follow the youtube video to set up the IDE found here: https://www.youtube.com/watch?v=bXbBfJCRVqE

I have tried all of the smart contract templates and every one of them comes up with this error when I try to build them:

$ erdpy --verbose contract build "/home/thecrypticcamel/Elrond/mycontract" INFO:projects.core:build_project.directory: /home/thecrypticcamel/Elrond/mycontract INFO:projects.core:build_project.debug: False INFO:myprocess:run_process: ['rustc', '--version'], in folder: None INFO:myprocess:Successful run. Output: rustc 1.58.0-nightly (b416e3892 2021-11-13)

error: failed to get elrond-wasm as a dependency of package adder-meta v0.0.0 (/home/thecrypticcamel/Elrond/mycontract/meta)

Caused by: failed to load source for dependency elrond-wasm

Caused by: Unable to update /home/elrond-wasm

Caused by: failed to read /home/elrond-wasm/Cargo.toml

Caused by: No such file or directory (os error 2) CRITICAL:cli:Build error: error code = 101, see output.

As somebody else suggested I have tried cloning the elrond-wasm repo to my home directory but it has not fixed the issue. I am using Ubuntu 20.04.

Thanks for any help in advance!

andreyminea commented 2 years ago

Delete folder meta