DEV Community

Discussion on: The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom

Collapse
 
dangjing9999 profile image
Jing Dang

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

Collapse
 
dabit3 profile image
Nader Dabit

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
Enter fullscreen mode Exit fullscreen mode
Collapse
 
nsandomeno profile image
Nicholas Sandomeno

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 ?