-
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
Trying to verify install of anchor is 'Expected "anchor-cli 0.18.2"' #972
Comments
restarting my computer seems to have resolved it, if anyone else encounters this weirdness |
https://www.npmjs.com/package/@project-serum/anchor-cli is working only on Linux x86_64. I added fields that will block npm package installation on unsupported platforms: #976 Also, please do not install npm packages globally, better install locally and run through |
Experiencing the same thing, I don't even think there's a 0.18.2 version. |
Same issue and I'm on an Intel Mac. It was working until recently. |
@tkoriginal I asked around on StackOverflow and figured out how to do a Mac Install. With Macs you need to build the project from github using cargo instead of just downloading the dependencies. Below is a link to the StackOverflow question: |
How to Install anchor/cli in Windows ??? After installing and after checking/running Only x86_64 / Linux distributed in NPM package right now. Please help me |
@aviral17 Unfortunately, I don't have a windows machine to figure this out. I am not sure why it doesn't run on Windows, we should make it compatible with Windows. One alternative for you is to use a docker image of solana. I am not sure why it doesn't run on Windows, we should make it compatible with Windows. Here is the docker image: Here is a detailed article on developing against the Solana docker image. |
Definitely not working for me. Restarted the system, reinstalled everything from npm to yarn, nothing happened, still facing the same error. |
Thanks for the help !
Actually I found the solution Just after sending this email. It worked with
``` cargo install --git https............... --locked ``` command. Thats it
and the Job is Done !!
…On Thu, May 12, 2022, 2:55 AM Mabel Oza ***@***.***> wrote:
@aviral17 <https://github.com/aviral17> Unfortunately, I don't have a
windows machine to figure this out. I am not sure why it doesn't run on
Windows, we should make it compatible with Windows.
One alternative for you is to use a docker image of solana. I am not sure
why it doesn't run on Windows, we should make it compatible with Windows.
Here is the docker image:
https://hub.docker.com/r/solanalabs/solana
Here is a detailed article on developing against the Solana docker image.
https://medium.com/rahasak/deploy-solana-test-network-with-docker-418622c4f566
—
Reply to this email directly, view it on GitHub
<#972 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIWWP7KZM3YD5PCXK5GW4CTVJQQSZANCNFSM5HJVO4GQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
OS: Mac m1
What have I done wrong to make my system expect a version that does not yet exist?
The text was updated successfully, but these errors were encountered: