I am using cargo install cargo-contract --version 2.0.0-alpha.3
to install 2.0.0-alpha.3
, I got error: failed to compile cargo-contract v2.0.0-alpha.3, intermediate artifacts can be found at /var/folders/q3/d699hkpx49xfy236ph7sltr40000gn/T/cargo-installPMiOKW
error. Does cargo-contract Pre-release
installation has issue?
Add a comment
|
1 Answer
Because some dependencies got updated (breaking changes).
You should use this to lock the dependencies version:
cargo install --force --locked cargo-contract --version 2.0.0-alpha.3