withfig / fig

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

Fig "error: Failed to open dashboard" #2492

Open kuttor opened 1 year ago

kuttor commented 1 year ago

Checks

Operating system

macOS 12.3.1 (21E258)

Expected behaviour

❯ fig error: Failed to open dashboard ❯ fig doctor

I am encountering an issue starting Fig.

✘ Fig Integration: Figterm is not running in this terminal, please try restarting your terminal

  FIG_TERM=

✘ Doctor found errors. Please fix them and try again.

If you are not sure how to fix it, please open an issue with fig issue to let us know!
Or, email us at hello@fig.io!

I have tried restarting my terminal (iTerm), my Sherll (Zsh), and performing a fig {logout/login}. Still the same error. Now I can Login and Logout without issues. But, Error just running "Fig"

When I try a fig restart I get:

❯ fig restart
Restarting Fig
error: No such file or directory (os error 2)

Here is a tree of the $HOME/.fig folder:

❯ tre .fig
.fig
├── settings.json
├── shell
│   ├── zprofile.post.zsh
│   ├── profile.post.bash
│   ├── zprofile.pre.zsh
│   ├── zshrc.pre.zsh
│   ├── profile.pre.bash
│   ├── zshrc.post.zsh
│   ├── bashrc.pre.bash
│   └── bashrc.post.bash
└── ssh

Currently troubleshooting, I am a senior DevOps engineer that highly automates/customates shells dotfiles, so I am not "green" ~ that said, it's probably some PEBCAK error, something dumb I have missed.

Please help.

Actual behaviour

Error opening Dashboard

Steps to reproduce

  1. Run "fig" from the command line after logging in via "fig login"

Environment

fig-details:
  - 2.15.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M1 Pro
  - cores: 10
  - mem: 16.00 GB
os-info:
  - macOS 12.3.1 (21E258)
environment:
  - shell: /bin/zsh
  - terminal: <unknown>
  - cwd: /Users/andrew.kuttor
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Privileges.app/Contents/Resources:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/andrew.kuttor/.local/bin:/Users/andrew.kuttor/Library/Python/3.7/bin:/Users/andrew.kuttor/Library/Python/3.8/bin:/usr/local/sbin:/Users/andrew.kuttor/.fig/bin:/Users/andrew.kuttor/.local/share/zinit/polaris/bin:/Users/andrew.kuttor/.local/share/zinit/plugins/apachler---zsh-aws/bin:/Users/andrew.kuttor/.local/share/zinit/plugins/unixorn---docker-helpers.zshplugin/bin:/Users/andrew.kuttor/.rvm/bin
mschrage commented 1 year ago

If you run open -b com.mschrage.fig what happens?