withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.05k stars 63 forks source link

error: Found argument '--rcfile' which wasn't expected, or isn't valid in this context #1974

Open Sergey-Ubogov opened 1 year ago

Sergey-Ubogov commented 1 year ago

Description:

error on the screen: image

Please include a detailed description of the issue (and an image or screen recording, if applicable)

Details:

macOS Fig Shell
11.7.0 Version 1.0.56 (B401) /bin/zsh
fig diagnostic

Version 1.0.56 (B401) [U.S.] 
UserShell: /bin/zsh
Bundle path: /Applications/Fig 2.app
Autocomplete: true
Settings.json: true
CLI installed: true
CLI tool path: /Users/s.ubogov/.fig/bin/fig
Accessibility: true
SSH Integration: true
Tmux Integration: true
iTerm Integration: false 
Hyper Integration: false
VSCode Integration: true
Docker Integration: false
Symlinked dotfiles: false
Only insert on tab: false
UNIX Socket Exists: true
Installation Script: false
PseudoTerminal Path: 
SecureKeyboardInput: false
SecureKeyboardProcess: 
Current active process: ??? (???) - ???
Current terminal session: ???
Current working directory: ???
Current window identifier: 1119/% (com.apple.Terminal)

mschrage commented 1 year ago

Hey @Sergey-Ubogov! It seems like you are using an old version (and potentially have two versions of the app installed).

Try uninstalling all versions of Fig and the reinstall from our website!

Sergey-Ubogov commented 1 year ago

HI! I removed 2 versions of fig and installed the version from the site, but now I get this error: image

you can see that fig is running at this, but my console does not see it. after installing fig, the console was rebooted

mschrage commented 1 year ago

Run /Applications/Fig.app/Contents/MacOS/fig-darwin-universal install --dotfiles and then open a new terminal session.

Sergey-Ubogov commented 1 year ago

HI! i did that: image

then i rebooted my console, but still does not see fig image

mschrage commented 1 year ago

Try restarting the Fig desktop app?

Sergey-Ubogov commented 1 year ago

Hi! rebooting didn't help me. I deleted the fig again and did brew install fig instead click on the link (fig.io/download) image but i didnt see autocomplete: image

fig doctor for more details: image

I added ~/.local/bin and ~/.fig/bin to PATH, but still have some errors: image (I already did fig install)

fig diagnostic: image

my .zshrc config: image image i try to start figterm but didnt see it: image

mschrage commented 1 year ago

Two things to try:

  1. Can you run ls ~/.fig/bin and ls ~/.local/fig/bin?
  2. Can you try updating to the beta channel and see if this resolves the issue (fig settings app.beta true)
Sergey-Ubogov commented 1 year ago

image

beta didn't help me