Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commands not found #171

Open
aYorky opened this issue Nov 3, 2022 · 4 comments
Open

Commands not found #171

aYorky opened this issue Nov 3, 2022 · 4 comments

Comments

@aYorky
Copy link

aYorky commented Nov 3, 2022

Describe the bug
I'm new to Rust, and I've just installed crates, so everything should be clean. Yet when I select any of the three command, I get the error "Command 'Crates: Retry to fetch Cargo.toml' resulted in an error (command 'crates.retry' not found)." Adjust error message as necessary for the other commands of course.

To Reproduce
Steps to reproduce the behavior:

  1. Run a command

Expected behavior
I would expect the command to run.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10 v1909
  • Build 18363.1556
@zmrl010
Copy link

zmrl010 commented Nov 9, 2022

I'm also on Windows 10, but unable to reproduce this on my setup. My versions are a little different.

  • OS: Windows 10 v21H2;
  • OS Build 19044.2251

What other extensions are you running? Have you tried disabling everything except for crates to make sure that is the extension causing issues?

@aYorky
Copy link
Author

aYorky commented Nov 9, 2022

I've just updated Windows other day, so fingers crossed that fixed it, but I doubt it. The only rust-related extension I have is the official rust analyzer. If nothing else, I'll just uninstall everything and start over, and hopefully that'll help. I'm just working my way through the opening few chapters of the rust book and don't have any projects, so it's not a big deal to do that.

@zmrl010
Copy link

zmrl010 commented Nov 9, 2022

Im suspicious that it could be an issue with a completely unrelated extension. That is why I suggested to disable all extensions because you can do it in the extensions view by clicking on the ... menu and selecting Disable All Installed Extensions. Then you can enable just crates and see if you can run the command.

@simonamc
Copy link

I think this is possibly a duplicate of 119 I just ran in to is on Windows 11 / Ubuntu in WSL and adding the Better TOML extension fixed it for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants