I have a issue when solana app is created with anchor as following: anchor --version Only x86_64 / Linux distributed in NPM package right now. Trying globally installed anchor. Failed to get version of global binary: Error: spawnSync anchor ENOENT
Yes, looks like you need to install anchor using Cargo:
cargo install --git https://github.com/project-serum/anchor --tag v0.17.0 anchor-cli --locked
Should one take issue to the first two lines in the output from this comment? Does it indicate the NODE_PATH variable is not set properly @dabit3 ?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have a issue when solana app is created with anchor as following:
anchor --version
Only x86_64 / Linux distributed in NPM package right now.
Trying globally installed anchor.
Failed to get version of global binary: Error: spawnSync anchor ENOENT
Yes, looks like you need to install anchor using Cargo:
Should one take issue to the first two lines in the output from this comment? Does it indicate the NODE_PATH variable is not set properly @dabit3 ?