-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
npm: Invalid anchor version #925
Comments
We can unpublish v0.18.0 and publish v0.18.1 with #928 |
Published |
Problem moved from
|
DISCLAIMER: I'm new and setting up everything related to Solana ecosystem for the first time. |
Second time's a charm. I didn't realize the Cargo.toml version had to be set properly when publishing the npm package. |
👍 looks good from here, thanks guys |
|
Can't found the tag v0.18.2 using
|
v0.18.2 currently only applies to the NPM package. |
Not entirely sure how I fix this? I used this install command from the docs
Do i need to downgrade the cli? |
I am also getting this error :( |
Try opening a new terminal tab and working from there. In my case it needed the refresh. Once I did that this sequence of commands worked |
I am getting this error ! cargo install --git https://github.com/project-serum/anchor anchor-cli --locked
error: the given reference name 'refs/heads/' is not valid; class=Reference (4) |
If you tried installing Anchor with npm on a non-x86_64 Linux and it failed, then you installed from source successfully but got the errors above -> |
@melchermaxwell this worked for me on MacOS... thank you! |
Using |
C:\WINDOWS\system32>npx anchor --version hey help me out, i new to solana , I am getting above error ever installing cli globally by using cmd |
|
Need to use WSL
…On Wed, Apr 27, 2022 at 12:21 PM Kirill Fomichev ***@***.***> wrote:
anchor-cli works only on linux x86-64
—
Reply to this email directly, view it on GitHub
<#925 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHLFUU45XYKWGTLZV3BPZDVHGHR3ANCNFSM5GU36EEQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Error: Anchor version not set. Please run |
npm package 0.18.0 have invalid anchor binary 😞
The text was updated successfully, but these errors were encountered: