Error: Could not find --lib ink_linting
Created by: JayPavlina
I get this error when I try to run the cargo contract build
command:
Error: Could not find `--lib ink_linting`
ERROR: `"/Users/name/.rustup/toolchains/nightly-2021-12-05-aarch64-apple-darwin/bin/cargo" "dylint" "--lib" "ink_linting" "--manifest-path=/Users/name/Code/Rust/project/Cargo.toml"` failed with exit code: Some(1)
I have already run:
cargo install cargo-dylint dylint-link
cargo install --force cargo-contract