fig icon indicating copy to clipboard operation
fig copied to clipboard

autocomplete dropdown with http code 404

Open Rhythmicc opened this issue 2 years ago • 4 comments

Sanity checks

  • [X] I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • [X] I have run fig doctor in the affected terminal session
  • [X] I have typed 'git ' and included a screenshot of the Debugger (click the Fig icon in the macOS menu bar)

Issue Details

Description:

Open console and check errors: image

Environment

# Fig Diagnostics
## Fig details:
  - Fig version: Version 1.0.58 (B472) [搜狗拼音]
  - Bundle path: /Applications/Fig.app
  - Autocomplete: true
  - Settings.json: true
  - Accessibility: true
  - Number of specs: 1
  - Symlinked dotfiles: true
  - Only insert on tab: false
  - Keybindings path: 
  - Installation Script: true
  - PseudoTerminal Path: <generated dynamically>
  - SecureKeyboardInput: false
  - SecureKeyboardProcess: <none>
## Hardware Info:
  - Model Name: MacBook Pro
  - Model Identifier: MacBookPro18,4
  - Chip: Apple M1 Max
  - Cores: 10 (8 performance and 2 efficiency)
  - Memory: 32 GB
## OS Info:
  - macOS 12.4.0 (21F79)
## Environment:
  - User Shell: /bin/zsh
  - Current Directory: /Users/lianhaocheng/Downloads
  - CLI Installed: true
  - Executable Location: /opt/homebrew/bin/fig
  - Current Window ID: 8381/% (com.googlecode.iterm2)
  - Active Process: zsh (76985) - /dev/ttys004
  - Installed via Brew: true
  - Environment Variables:
    - TERM_SESSION_ID=w1t0p0:96DBC157-634A-4D11-893F-13798A361BB6
    - PATH=/Users/lianhaocheng/Library/pnpm:/opt/homebrew/bin:/Users/lianhaocheng/.sdkman/candidates/scala/current/bin:/Library/TeX/texbin:/opt/X11/bin:/usr/local/bin:/usr/local/opt/ruby/bin:/usr/sbin:/Users/lianhaocheng/.local/bin:/bin:/usr/local/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/opt/riscv/bin:/usr/local/aria2/bin:/usr/local/gradle/bin:/Users/lianhaocheng/.sdkman/candidates/sbt/current/bin:/usr/local/share/dotnet:/Library/Apple/usr/bin:/usr/local/opt/llvm/bin:/sbin:/Users/lianhaocheng/.fig/bin:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/opt/local/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/usr/bin:/Users/lianhaocheng/bin:~/.dotnet/tools:/Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home/bin:/Users/lianhaocheng/.local/QuickProject/bin
    - TERM=xterm-256color
    - FIG_INTEGRATION_VERSION=8
    - FIG_TERM=1
    - FIG_TERM_VERSION=4.4.1
    - FIG_WORKFLOWS_KEYBIND=^f
    - FIG_PID=76985
## Integrations:
  - SSH: false
  - TMUX: false
  - iTerm: installed!
  - Hyper: application is not present.
  - Visual Studio Code: installed!
  - Docker: false

Rhythmicc avatar Jul 20 '22 10:07 Rhythmicc

You are trying to run . As a command, correct?

fedeci avatar Jul 20 '22 11:07 fedeci

No, just my custom command qs, and it can't autocomplete before I runned npm run dev. When I debug using console, it output many http error..

Rhythmicc avatar Jul 20 '22 11:07 Rhythmicc

There is a new way to load private autocomplete now https://fig.io/docs/guides/autocomplete-for-internal-tools#add-to-ci-recommended. npm run dev should only be used when developing specs and not for everyday use.

fedeci avatar Jul 20 '22 13:07 fedeci

I am not sure about those errors however, have you tried reloading fig? Usually that's a good temporary fix!

fedeci avatar Jul 20 '22 13:07 fedeci

Hey @Rhythmicc , did you figure this out?

parssak avatar Sep 14 '22 18:09 parssak

It seems that fig's server is not accessible in some areas, and it works fine after I use a proxy server in the US.

Rhythmicc avatar Sep 16 '22 13:09 Rhythmicc