Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

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

Open
TheCrypticCamel opened this issue Nov 14, 2021 · 1 comment
Open

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

TheCrypticCamel opened this issue Nov 14, 2021 · 1 comment

Comments

@TheCrypticCamel
Copy link

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
Copy link

Delete folder meta

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@andreyminea @TheCrypticCamel and others