fig icon indicating copy to clipboard operation
fig copied to clipboard

Autocomplete not working for cd and package.json scripts

Open ErykKozyra opened this issue 3 years ago • 39 comments

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 run fig restart and replicated the issue again

Operating system

macOS 14.0.0 (23A344)

Expected behaviour

Suggestions for commands like cd or package.json scripts should work like before.

Actual behaviour

For some reason autocompletion stopped working as it should, image image

It is still working for open command: image

Steps to reproduce

No response

Environment

fig-details:
  - 2.17.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M1 Pro
  - cores: 8
  - mem: 16.00 GB
os-info:
  - macOS 14.0.0 (23A344)
environment:
  - shell: /bin/zsh
  - terminal: vscode
  - cwd: /Applications/Moje/xxx/xxx-components
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIGTERM_SESSION_ID: 8909ac15-ca9f-474a-b182-77a0eedbf8d3
    - FIG_PID: 3330
    - FIG_SET_PARENT: 8909ac15-ca9f-474a-b182-77a0eedbf8d3
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.17.0
    - PATH: /Users/erykkozyra/.pyenv/shims:/opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/erykkozyra/Library/pnpm:/Users/erykkozyra/.pyenv/shims:/opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/erykkozyra/.fig/bin:/Users/erykkozyra/.local/bin:/Users/erykkozyra/Library/Android/sdk/emulator:/Users/erykkozyra/Library/Android/sdk/tools:/Users/erykkozyra/Library/Android/sdk/tools/bin:/Users/erykkozyra/Library/Android/sdk/platform-tools:/Users/erykkozyra/Library/Android/sdk/emulator:/Users/erykkozyra/Library/Android/sdk/tools:/Users/erykkozyra/Library/Android/sdk/tools/bin:/Users/erykkozyra/Library/Android/sdk/platform-tools
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - ZDOTDIR: /Users/erykkozyra
    - __CFBundleIdentifier: com.microsoft.VSCode

ErykKozyra avatar Nov 07 '23 10:11 ErykKozyra

same problem

alex93133 avatar Nov 07 '23 11:11 alex93133

the same here

angeltonio avatar Nov 07 '23 15:11 angeltonio

Same here

hugoewarrior avatar Nov 07 '23 15:11 hugoewarrior

Same here. Clean install fig again fixed the issue.

YiweiShen avatar Nov 07 '23 16:11 YiweiShen

Same here. Clean install fig again fixed the issue.

I did that, but the problem continues

angeltonio avatar Nov 07 '23 17:11 angeltonio

Same here. Complete reinstall tried, did not fix! TBH I only check with 'cd', I thought complete fig is broken. First I read here, checked that only 'cd' is not working.

diagnostics: fig-details:

  • 2.17.0 hardware-info:
  • model:
  • model-id:
  • chip-id: Apple M1
  • cores: 8
  • mem: 16.00 GB os-info:
  • macOS 14.0.0 (23A344) environment:
  • shell: /opt/homebrew/Cellar/bash/5.1.16/bin/bash
  • terminal: iterm
  • cwd: /Users/softwort
  • exe-path: /opt/homebrew/bin/fig
  • install-method: brew
  • env-vars:
    • SHELL: /opt/homebrew/bin/bash
    • __CFBundleIdentifier: com.googlecode.iterm2
    • FIG_SET_PARENT_CHECK: 1
    • FIGTERM_SESSION_ID: 3028fc0d-e11b-40ec-a864-18dba9b9f45e
    • FIG_TERM: 2.17.0
    • TERM: xterm-256color
    • FIG_PID: 9281

SO-Eng avatar Nov 07 '23 20:11 SO-Eng

Can you try restarting the app?

grant0417 avatar Nov 07 '23 22:11 grant0417

Can you try restarting the app?

yes, but the same result

angeltonio avatar Nov 07 '23 22:11 angeltonio

Same here. Clean install fig again fixed the issue.

I did that, but the problem continues

What I did is using AppCleaner to uninstall and delete all fig related files. And then brew reinstall fig

It is working again so far.

YiweiShen avatar Nov 07 '23 22:11 YiweiShen

What worked for me:

  1. Delete the app
  2. Redownload (didn't work with brew https://fig.io/download)
  3. Log out -> Log in
  4. run fig restart -> fig source

jasselmar avatar Nov 08 '23 00:11 jasselmar

@jasselmar it still not working for me

image

natuan62 avatar Nov 08 '23 07:11 natuan62

Same issue for me since yesterday, 7th November! cd doesn't prompt. Neither npm run finds the scripts. Other commands seem to work.

GBrachetta avatar Nov 08 '23 08:11 GBrachetta

What worked for me:

  1. Delete the app
  2. Redownload (didn't work with brew https://fig.io/download)
  3. Log out -> Log in
  4. run fig restart -> fig source

this worked for me - but only had to do step 1 and 2.

tamasfabi avatar Nov 08 '23 08:11 tamasfabi

I had the same problem and fig doctor command gave me this image

smg-kayle avatar Nov 08 '23 09:11 smg-kayle

@smg-kayle I had the same and fixed it with fig integrations install daemon - though this hasn't fixed the autocompletion problems.

tomchkk avatar Nov 08 '23 09:11 tomchkk

What worked for me: 1.- Reinstall app, using brew too 2. Log out, and Log in again

Maybe it´s only needed Log Out

angeltonio avatar Nov 08 '23 09:11 angeltonio

I've tried a number of iterations of reinstalling, logging in and out. Still doesn't work.

tomchkk avatar Nov 08 '23 09:11 tomchkk

Same problem, reinstall, logging in and out didn't help

hdegyes avatar Nov 08 '23 11:11 hdegyes

Same problem. Tried logout, login, reinstall with brew and dmg. cd doesn't show autocomplete-window, neither npm run or fig run finds the scripts.

m4csz4f avatar Nov 08 '23 12:11 m4csz4f

Still nothing helps...

ErykKozyra avatar Nov 08 '23 13:11 ErykKozyra