Extension indicates that the CLI is not installed, but only for some commands
See original GitHub issueSummary
A couple of weeks ago some commands stopped working when run through the editor’s command palette. The ones I can remember to have tested this are the “set default org”, “push” and “pull” and “open default org”. Some other commands, such as “deploy” and “retrieve” still work as expected.
Meanwhile, executing the same command through the integrated terminal works just fine:
Raised after comment on a similar issue (#3582).
Steps To Reproduce:
Unavailable at this time.
Expected result
Commands should execute as usual, as the CLI is installed.
Actual result
Commands mentioned before do not work.
Additional information
OS/VScode info:
Version: 1.64.1
Commit: d6ee99e4c045a6716e5c653d7da8e9ae6f5a8b03
Date: 2022-02-07T17:17:47.733Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.16.7-arch1-1
CLI version: sfdx-cli/7.136.2 linux-x64 node-v17.3.0
Extension Version: v53.16.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Some commands throw the error "Salesforce CLI is not ...
Summary With the VScode 1.61.0 and CLI v52.17.0, some commands throw the error "Salesforce CLI is not installed.
Read more >Error: Salesforce CLI is not installed. (Integrating VS code with ...
I installed Salesforce CLI and when I tried creating a project in VS code but it says that Salesforce CLI is not installed....
Read more >How to install and manage Azure CLI extensions
Install extensions automatically When you run an extension command that is not installed, the Azure CLI can recognize the command you run, and...
Read more >Troubleshooting AWS CLI errors - AWS Command Line Interface
Command not found errors ... This error means that the operating system can't find the AWS CLI command. The installation might be incomplete...
Read more >4. Using Python on Windows — Python 3.11.1 documentation
Unlike most Unix systems and services, Windows does not include a ... ... necessary for a default installation and only requires an internet...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No changes, but I did a fresh install and made sure to install the cli through NPM rather than individually. The versions are all the same.
Oh, so that explains why reinstalling my OS worked too then. 🤣