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

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

@TheCrypticCamel

Description

@TheCrypticCamel

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions