CLI installed but not seen as such
See original GitHub issueYour environment
op-vscode version: v1.0.0
VS Code version: 1.68.1
CLI version: 2.5.1
OS: macOS 12.4
Steps to reproduce
- A VS Code window loads. Or I manually reload one.
What happened?
There’s this “pop-up” (bottom right side) that says “CLI is not installed. Please install it to use 1Password for VS Code. Source: 1Password (Extension)”, with a button “Open installation documentation”.
What did you expect to happen?
A prompt to choose the vault, as the documentation says? Not this pop-up, at the very least
Notes & Logs
Typing op --version
in a terminal (system, or VS Code’s) gets “2.5.1”
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:10 (4 by maintainers)
Top Results From Across the Web
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 or...
Read more >Salesforce CLI is not installed - it ain't so
Press Start Button · Type Environment · Go to System Environment setting · Go to Advanced · Environment Variables - there are two...
Read more >ng is not recognized as an internal or external command
1) Enter below command on command prompt npm install -g @angular/cli. 2) Make sure that C:\Users\_username_\AppData\Roaming\npm this path is not hidden.
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 >Troubleshooting the CLI - Oracle Help Center
If the oci command isn't found, this can be caused by one of the following reasons: ... To determine where the CLI is...
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
Having same issue with various CLI versions (including 2.4,x and 2.5.x) on Windows 10 and Windows 11. Definitely have installed the 1Password CLI in a custom location (for other development environment & business-case reasons.)
Would be nice to have an extension setting to specify a custom CLI binary path and still use the current ‘lookpath’ resolution method if this setting is undefined (likely would be for most users) or an invalid path.
It happens sometimes, but definitely not most of the times. I don’t know why. It seems it’s when I open a project from the terminal at the required folder, work on it, quit VS Code, and say the next day I reopen VS Code, the window of the project (will all the open tabs/files, etc) is already opened. If I ever get the “Unable to resolve…” message, it’s then. But a simple reload (from the menu, “Developer: Reload Window”) solves the issue. (I think the documentation says we should always open projects from their relevant folder in the terminal anyway)
Whereas I get the “CLI is not installed. …” error message each time at startup, or when I open a new window, or reload it