question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI installed but not seen as such

See original GitHub issue

Your 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

  1. 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:open
  • Created a year ago
  • Reactions:2
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kitpiercecommented, Aug 3, 2022

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.

1reaction
remitbricommented, Jul 4, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found