Forum Discussion

clrmic001's avatar
clrmic001
New Contributor
4 months ago
Solved

[ERROR]...The pipe is being closed.

Hi all, I've been using the CLI for a few months without any issues and then for some reason it stopped working and a constantly get the following error: PS C:\Users\Mike> op --version 2.31.0 PS ...
  • clrmic001's avatar
    4 months ago

    Murphy's Law: "You will find the solution only after asking for help!"

    The trick was to delete the folder C:\ProgramFiles\1Password CLI because on my system "winget uninstall 1password-cli --force"  didn't actually remove the folder....even through the command succeeded!

    Then installing the specific version mentioned in a previous thread worked as per below:

    [ADMIN]:PS C:\Users\Mike> winget install 1password-cli --version 2.30.3 --force
    Found 1Password CLI [AgileBits.1Password.CLI] Version 2.30.3
    This application is licensed to you by its owner.
    Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
    Successfully verified installer hash
    Extracting archive...
    Successfully extracted archive
    Starting package install...
    Command line alias added: "op"
    Path environment variable modified; restart your shell to use the new value.
    Successfully installed
    [ADMIN]:PS C:\Users\Mike> op --version
    2.30.3
    [ADMIN]:PS C:\Users\Mike> op account list
    URL                 EMAIL                  USER ID
    my.1password.com    [My email address]    [My user ID]