-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Could not find `Cargo.toml or any parent directory #4034
Comments
Thanks for the report! Are you sure you're cd'ing into the parity directory? The repository has a top-level Cargo.toml, so in theory this would work |
Hey, I got the same error. But I realized that the installation instructions in Pariti's hub isn't accurate. The commands in the section Build from source doesn't clone the repository.
If you go to https://github.com/ethcore/parity you will see the following message:
Then you should run the following command to clone the project:
It worked for me. |
Ah that'd do it, thanks for the comment @tregismoreira! |
I got the same issue and i fix it by finding the path of Cargo.toml " .cargo\registry\src\github.com-1ecc6299db9ec823\cargo_toml-0.11.6 " in my case... so i just run "cargo check" or "cargo update" or "cargo add library" from terminal from this path..... may be i should add specific environnement PATH to avoid reffering all time to this path.. |
Hi,
I'm in the process of installing Parity on Win 10 32 bit machine.
I follow download and follow instructions from here:
https://parity.io/parity.html
git clone https://github.com/paritytech/parity.git && cd parity
cargo run --release
and get error:
could not find
Cargo.toml
inC:\Program Files\Ethcore\Parity
or any parent directoryall the cargo.toml files are in sub directories.
Why is cargo looking in parent directories?
How to fix?
The text was updated successfully, but these errors were encountered: