withfig / fig

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

could not sync remote dotfiles #1778

Open CNDCreative opened 2 years ago

CNDCreative commented 2 years ago

Sanity checks

Issue Details

fig source and fig dotfiles give error: could not sync remote dotfiles.

Environment

fig-details:
  - desktop-version: Version 1.0.61 (B520) [U.S.]
hardware-info:
  - model: MacBook Pro
  - model-id: MacBookPro18,2
  - chip-id: Apple M1 Max
  - cores: 10 (8 performance and 2 efficiency)
  - mem: 64 GB
os-info:
  - macOS 13.0.0 (22A5342f)
environment:
  - shell: /bin/zsh
  - terminal: terminal
  - cwd: /Users/casey
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIG_INTEGRATION_VERSION: 8
    - FIG_TERM: 1
    - FIG_TERM_VERSION: 5.2.0
    - PATH: /Users/casey/.rbenv/shims:/Library/Frameworks/Python.framework/Versions/3.8/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/var:/etc:/etc/defaults:/etc/path.d:/opt/homebrew:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/go/bin:~/.local/bin:/opt/homebrew/Cellar/go/1.19.1/bin :/opt/local/bin:/Users/casey:/opt/homebrew/anaconda3/bin:/opt/homebrew/lib/ruby/gems/3.1.0/bin:~/Library/Containers:~/.rvm/rubies/ruby-3.0.0/bin:/System/Library/CoreServices:/Applications/calibre.app/Contents/MacOS:/bin:/bin/bash:/sbin:/usr/bin:/usr/lib:/usr/libexec:/usr/local:/usr/local/bin:/usr/local/lib:/usr/local/sbin:/usr/sbin:/System/Cryptexes/App/usr/bin:/private/etc:/private/var:/private/tftpboot:/usr/local/go/pkg/tool/darwin_amd64:/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/:/Applications/Little Snitch.app/Contents/Components:/Library/Apple/usr/bin:/Users/casey/.fig/bin:/Users/casey/.local/bin:/Users/casey/.rvm/bin:/Users/casey/.local/bin:/opt/homebrew/opt/curl/bin:/opt/homebrew/opt/ruby/bin:/Users/casey/.rvm/bin:/Users/casey/.rvm/bin:/Users/casey/.local/bin
    - SHELL: /bin/bash
    - TERM: xterm-256color
    - TERM_SESSION_ID: C7963730-3574-4DC8-A630-C0E8C832145E
    - FIG_PID: 17203
- integrations:
  - SSH: false
  - TMUX: false
  - iTerm: installed!
  - Hyper: application is not present.
  - Visual Studio Code: application is not present.
  - Docker: false
mschrage commented 2 years ago

Can you run FIG_LOG_LEVEL=trace fig source?

CNDCreative commented 2 years ago

Sure.

On Sep 12, 2022, at 9:04 PM, Matt Schrage @.***> wrote:

Can you run FIG_LOG_LEVEL=trace fig source?

— Reply to this email directly, view it on GitHub https://github.com/withfig/fig/issues/1778#issuecomment-1244869376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXA7YMD2ZKDPEIITXGWZ6YDV574MFANCNFSM6AAAAAAQK6QPYM. You are receiving this because you authored the thread.

mschrage commented 2 years ago

And share the output here?

CNDCreative commented 2 years ago

Oh, I’d attached a screenshot. It must not have come through.

@. ~ % FIG_LOG_LEVEL=trace fig source error: 0: Could not sync remote dotfiles 1: Unexpected Server Error: Cannot find module @./plugins/dist/cjs/plugins/listbox/index.js' imported from @.***/plugins/dist/cjs/util/index.js

Location: fig_cli/src/cli/source.rs:21

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets.

On Sep 12, 2022, at 10:40 PM, Matt Schrage @.***> wrote:

And share the output here?

— Reply to this email directly, view it on GitHub https://github.com/withfig/fig/issues/1778#issuecomment-1244925458, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXA7YMGMMAXL6BW6K76PF7TV6AHTRANCNFSM6AAAAAAQK6QPYM. You are receiving this because you authored the thread.

mschrage commented 2 years ago

Thanks! Can you also run fig plugins list --installed --format json and share the output?

CNDCreative commented 2 years ago

Sure.

Last login: Tue Sep 13 20:54:16 on ttys003 @.* ~ % fig plugins list --installed --format json [{"categories":["Framework"],"community":"https://discord.gg/ohmyzsh","configuration":[{"default":[],"description":"Oh My Zsh plugins to load","displayName":"Plugins","interface":"multiselect","name":"plugins","type":"environmentVariable"},{"default":"robbyrussell","description":"The Oh My Zsh theme to use","displayName":"Theme","interface":"select","name":"ZSH_THEME","type":"environmentVariable"},{"configuration":[{"additionalDetails":"disabled: disables all automatic updates; auto: automatically updates Oh My Zsh when a new version is available, without asking for confirmation; reminder: only checks if there are updates available and shows a reminder to update Oh My Zsh. prompt (default): ask for confirmation before updating Oh My Zsh.","default":["prompt"],"description":"Choose which update mode Oh My Zsh uses","displayName":"Update mode","interface":"multiselect","name":"mode","options":["prompt","auto","reminder","disabled"],"type":"script"},{"default":13,"description":"Choose how frequently Oh My Zsh checks for updates. The value is in days. The default value is 13 days","displayName":"Update Frequency","interface":"text","name":"frequency","type":"script"}],"description":"By default, you will be prompted to check for updates every 2 weeks.","displayName":"Getting Updates"},{"configuration":[{"default":["robbyrussell"],"description":"Limit the themes that random can pick from","displayName":"Random Theme Candidates","interface":"multiselect","name":"ZSH_THEME_RANDOM_CANDIDATES","type":"environmentVariable"},{"default":["robbyrussell"],"description":"Themes random should ignore","displayName":"Ignored Theme Candidates","interface":"multiselect","name":"ZSH_THEME_RANDOM_IGNORED","type":"environmentVariable"},{"additionalDetails":"You can always run echo $RANDOM_THEME to show the current theme name","default":false,"description":"If true, the random theme will not show a startup message indicating which theme was chosen","displayName":"Random Quiet","interface":"toggle","name":"ZSH_THEME_RANDOM_IGNORED","type":"environmentVariable"}],"description":"These settings only work if the Random theme is selected","displayName":"Random Theme"},{"configuration":[{"additionalDetails":"e.g. if there are two files beginning with file, one lowercase (file-one), one uppercase (FILE-TWO), the completion system will offer both as entries when trying to complete file, unless this setting is true applied.","default":false,"description":"Set to true to force case sensitive completion.","displayName":"Case Sensitive","interface":"toggle","name":"CASE_SENSITIVE","type":"environmentVariable"},{"additionalDetails":"Only available if case sensitive completion is off","default":false,"description":"Let hyphens and underscores be interchangeable","displayName":"Hyphen Sensitive","interface":"toggle","name":"HYPHEN_INSENSITIVE","type":"environmentVariable"},{"default":true,"description":"Show ellipses after pressing tab while waiting for completions to load","displayName":"Completion Waiting Dots","interface":"toggle","name":"COMPLETION_WAITING_DOTS","type":"environmentVariable"},{"default":false,"description":"Show a warning if sourcing completions from a potentially insecure folder which could contain malicious code.","displayName":"Hide Insecure Completions Warning","interface":"toggle","name":"ZSH_DISABLE_COMPFIX","type":"environmentVariable"}],"description":"Settings for completions","displayName":"Tab Completion Settings"},{"configuration":[{"default":false,"description":"Oh My Zsh automatically sets the title of your terminal and tabs when running a command or printing the prompt. Use this setting if you want to disable that.","displayName":"Disable Auto Title","interface":"toggle","name":"DISABLE_AUTO_TITLE","type":"environmentVariable"}],"description":"Customize the text displayed at the top of the terminal window and eah terminal tab","displayName":"Window and Tab Title"},{"configuration":[{"default":false,"description":"bracketed-paste-magic and url-quote-magic are two Zsh utilities that are known buggy in some Zsh versions or user setups. If you're having problems when pasting URLs or pasting anything at all, use this setting to disable them.","displayName":"Disable Magic Functions","interface":"toggle","name":"DISABLE_MAGIC_FUNCTIONS","type":"environmentVariable"},{"default":false,"description":"Use this setting to disable the Oh My Zsh logic to automatically set ls color output based on the system you're running and which ls commands are available.","displayName":"Disable ls Colors","interface":"toggle","name":"DISABLE_LS_COLORS","type":"environmentVariable"},{"additionalDetails":"Only the following commands will be prevented to have filename correction: cp, ebuild, gist, heroku, hpodder, man, mkdir, mv, mysql, sudo.","default":false,"description":"Tell Zsh to try to correct command names and filenames passed as arguments.","displayName":"Enable Correction","interface":"toggle","name":"ENABLE_CORRECTION","type":"environmentVariable"},{"default":false,"description":"Use this setting if you want to disable marking untracked files under VCS as dirty. This makes repository status checks for large repositories much, much faster.","displayName":"Disable Marking Untracked Files as Dirty","interface":"toggle","name":"DISABLE_UNTRACKED_FILES_DIRTY","type":"environmentVariable"}],"displayName":"Library Settings"},{"configuration":[{"default":"","description":"Blank space for you to provide additional shell code to be sourced before the Oh My Zsh plugin is soruced.","displayName":"Shell Code","interface":"text","name":"additionalConfiguration","type":"script"}],"displayName":"Additional Configuration"}],"description":"A community-driven framework for managing your zsh configuration","displayName":"Oh My Zsh","docs":"https://github.com/ohmyzsh/ohmyzsh/wiki","forks":24194,"github":"ohmyzsh/ohmyzsh","icon":"https://avatars.githubusercontent.com/u/22552083","installation":{"origin":"github","sourceFiles":["oh-my-zsh.sh"]},"license":["MIT"],"name":"ohmyzsh","noteworthy":true,"popularity":7444,"pushedAt":"2022-06-19T10:32:28.000Z","screenshots":["images/omz.png","images/af-magic.jpeg","images/daveverwer.jpeg","images/eastwood.jpeg","images/nebirhos.jpeg"],"shells":["zsh"],"site":"https://ohmyz.sh/","stargazers":146810,"twitter":"ohmyzsh","type":"shell","verified":false},{"authors":[{"github":"marlonrichert","name":"marlonrichert","twitter":"MarlonRichert"}],"categories":["Other"],"configuration":[{"default":"Completions","description":"The initial type of suggestions on each new command line","interface":"select","name":"Initial Completion Mode","options":["Autocompletion","History Search"],"type":"script"},{"default":0.05,"description":"Wait this many seconds for typing to stop, before showing completions.","interface":"text","name":"Minimum Delay","type":"script"},{"default":0,"description":"Wait until this many characters have been typed, before showing completions.","interface":"text","name":"Minimum Input","type":"script"},{"default":"","description":"Do not show completions for commands that match this extended glob pattern.","interface":"text","name":"Ignored Input","type":"script"},{"default":16,"description":"If there are fewer than this many lines below the prompt, move the prompt up to make room for showing this many lines of completions (approximately).","interface":"text","name":"List Lines","type":"script"},{"default":16,"description":"Show this many history lines when pressing ↑.","interface":"text","name":"Number of history search suggestions","type":"script"},{"default":16,"description":"Show this many history lines when pressing ⌃R or ⌃S.","interface":"text","name":"Number of incremental history search suggestions","type":"script"},{"additionalDetails":"This setting cannot be changed at runtime","default":true,"description":"Include recently visited directories in suggestions.","displayName":"List Recent Directories","interface":"toggle","name":"recent-dirs","type":"script"},{"default":"cdr","description":"What tool should be used to generate the list of recent directories.","interface":"select","name":"Recent Directories Tool","options":["cdr","zsh-z","zoxide","z.lua","z.sh","autojump","fasd"],"type":"script"},{"default":false,"description":"When disabled, tab inserts the top completion. When enabled, tab first inserts a substring common to all listed completions, if any.","interface":"toggle","name":"Insert Unambiguous","type":"script"},{"additionalDetails":"This setting can NOT be changed at runtime.","default":"complete-word","description":"\n complete-word: (Shift-)Tab inserts the top (bottom) completion.\n menu-complete: Press again to cycle to next (previous) completion.\n menu-select: Same as menu-complete, but updates selection in menu.","interface":"select","name":"Widget Style","options":["complete-word","menu-complete","menu-select"],"type":"script"},{"additionalDetails":" This setting can NOT be changed at runtime and requires that you have installed Fzf's shell extensions.","default":false,"description":"Tab first tries Fzf's completion, then falls back to Zsh's","interface":"toggle","name":"Use Fzf completions","type":"script"},{"default":["executables","aliases","functions","builtins","reserved-words","commands"],"description":" Add a space after these completions","interface":"multiselect","name":"Add space after...","options":["executables","aliases","functions","builtins","reserved-words","commands"],"type":"script"}],"description":"Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.","displayName":"Zsh Autocomplete","forks":60,"github":"marlonrichert/zsh-autocomplete","icon":"🤖","installation":{"origin":"github","sourceFiles":["zsh-autocomplete.plugin.zsh"]},"keywords":["zsh","completion","autocomplete","zsh-autocomplete","zsh-plugin","zsh-completion","asynchronous","autocompletion","non-blocking","zsh-plugins","typeahead","typeahead-completions"],"license":["MIT"],"name":"zsh-autocomplete","noteworthy":false,"popularity":119,"pushedAt":"2022-06-22T06:31:55.000Z","screenshots":["images/alias-expansion.png","images/history-lines.png","images/history-menu.png","images/multi-select.png","images/recent-dirs.png","images/requoted.png","images/unambiguous.png"],"shells":["zsh"],"stargazers":2100,"type":"shell","verified":false},{"categories":["Completion"],"configuration":[{"additionalDetails":"For more info, read the Character Highlighting section of the zsh manual: man zshzle or online.","default":"fg=8","description":"Configure the style that the suggestion is shown with.","displayName":"Highlight Style","interface":"text","name":"ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE","type":"environmentVariable"},{"additionalDetails":"\n - history: Chooses the most recent match from history.\n - completion: Chooses a suggestion based on what tab-completion would suggest. (requires zpty module)\n - match_prev_cmd: Like history, but chooses the most recent match whose preceding history item matches the most recently executed command (more info). Note that this strategy won't work as expected with ZSH options that don't preserve the history order such as HIST_IGNORE_ALL_DUPS or HIST_EXPIRE_DUPS_FIRST.\n ","default":["history"],"description":"Specify how suggestions should be generated. The strategies in the array are tried successively until a suggestion is found.","displayName":"Suggestion Strategy","interface":"multiselect","name":"ZSH_AUTOSUGGEST_STRATEGY","options":["history","completion","match_prev_cmd"],"type":"environmentVariable"},{"default":true,"description":"Suggestions are fetched asynchronously by default in zsh versions 5.0.8 and greater.","displayName":"Async","interface":"toggle","name":"ZSH_AUTOSUGGEST_USE_ASYNC","type":"environmentVariable"},{"default":20,"description":"By default, autosuggestion will be tried for any buffer size. Recommended value is 20. This can be useful when pasting large amount of text in the terminal, to avoid triggering autosuggestion for strings that are too long.","displayName":"Disable suggestion for large buffers","interface":"text","name":"ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE","type":"environmentVariable"},{"additionalDetails":"\n Note: This only affects the history and match_prev_cmd suggestion strategies.\n ","default":"","description":"A glob pattern to prevent offering suggestions for history entries that match the pattern.","displayName":"Ignore history suggestions that match a pattern","interface":"text","name":"ZSH_AUTOSUGGEST_HISTORY_IGNORE","type":"environmentVariable"},{"additionalDetails":"\n Note: This only affects the completion suggestion strategies.\n ","default":"","description":"A glob pattern to prevent offering completion suggestions when the buffer matches that pattern.","displayName":"Skip completion suggestions for certain cases","interface":"text","name":"ZSH_AUTOSUGGEST_COMPLETION_IGNORE","type":"environmentVariable"},{"additionalDetails":"Note: A widget shouldn't belong to more than one of the above arrays.","configuration":[{"default":[],"description":"Widgets that will clear the suggestion when invoked.","displayName":"Clear Widgets","interface":"multi-text","name":"ZSH_AUTOSUGGEST_CLEAR_WIDGETS","type":"environmentVariable"},{"default":[],"description":"Widgets that will accept the suggestion when invoked.","displayName":"Accept Widgets","interface":"multi-text","name":"ZSH_AUTOSUGGEST_ACCEPT_WIDGETS","type":"environmentVariable"},{"default":[],"description":"Widgets that will execute the suggestion when invoked.","displayName":"Execute Widgets","interface":"multi-text","name":"ZSH_AUTOSUGGEST_EXECUTE_WIDGETS","type":"environmentVariable"},{"default":[],"description":"List of widgets that will partially accept the suggestion when invoked.","displayName":"Partial Accept Widgets","interface":"multi-text","name":"ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS","type":"environmentVariable"},{"default":[],"description":"A comma-separated list of widgets that will not trigger any custom behavior.","displayName":"Ignore Widgets","interface":"multi-text","name":"ZSH_AUTOSUGGEST_IGNORE_WIDGETS","type":"environmentVariable"},{"default":false,"description":"Disable automatic widget re-binding on each precmd. This can be a big boost to performance, but you'll need to handle re-binding yourself if any of the widget lists change or if you or another plugin wrap any of the autosuggest widgets. To re-bind widgets, run _zsh_autosuggest_bind_widgets.","displayName":"Disable Automatic Widget Re-binding","interface":"toggle","name":"ZSH_AUTOSUGGEST_MANUAL_REBIND","type":"environmentVariable"}],"displayName":"Widget Mapping"}],"description":"Fish-like autosuggestions for zsh","displayName":"Zsh Autosuggestions","forks":1448,"github":"zsh-users/zsh-autosuggestions","icon":"https://avatars.githubusercontent.com/u/567410","installation":{"origin":"github","sourceFiles":["zsh-autosuggestions.zsh"]},"keywords":["shell","autosuggest","zsh","zsh-autosuggestions","fish","autocomplete"],"license":["MIT"],"name":"zsh-autosuggestions","noteworthy":true,"popularity":4558,"pushedAt":"2021-06-04T22:05:06.000Z","screenshots":["images/2.gif"],"shells":["zsh"],"stargazers":22457,"type":"shell","verified":false},{"authors":[{"github":"zsh-users","name":"zsh-users"}],"categories":["Completion"],"description":"Additional completion definitions for Zsh.","displayName":"Zsh Completions","forks":642,"github":"zsh-users/zsh-completions","icon":"🧑‍💻","installation":{"origin":"github","sourceFiles":["zsh-completions.plugin.zsh"]},"keywords":["zsh","zsh-completions","shell","completion"],"license":["NOASSERTION"],"name":"zsh-completions","noteworthy":true,"popularity":1855,"pushedAt":"2022-06-19T16:38:38.000Z","shells":["zsh"],"stargazers":5352,"type":"shell","verified":false}] *@. ~ %

On Sep 13, 2022, at 8:53 PM, Matt Schrage @.***> wrote:

Thanks! Can you also run fig plugins list --installed --format json and share the output?

— Reply to this email directly, view it on GitHub https://github.com/withfig/fig/issues/1778#issuecomment-1246198548, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXA7YMDKV5D63AN6OUDEGC3V6FD4JANCNFSM6AAAAAAQK6QPYM. You are receiving this because you authored the thread.

CNDCreative commented 2 years ago

when I debugged verify-codesign, I got this output

@.*** .fig % fig debug verify-codesign --prepared:/Applications/Fig.app/Contents/MacOS/fig-darwin-universal --validated:/Applications/Fig.app/Contents/MacOS/fig-darwin-universal --prepared:/Applications/Fig.app/Contents/MacOS/figterm --validated:/Applications/Fig.app/Contents/MacOS/figterm --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftXPC.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftXPC.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftObjectiveC.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftObjectiveC.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftAppKit.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftAppKit.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftCoreImage.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftCoreImage.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftMetal.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftMetal.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftCoreData.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftCoreData.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftCoreGraphics.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftCoreGraphics.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftCore.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftCore.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftDispatch.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftDispatch.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftCoreFoundation.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftCoreFoundation.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftos.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftos.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftIOKit.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftIOKit.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftQuartzCore.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftQuartzCore.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftDarwin.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftDarwin.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/libswiftFoundation.dylib --validated:/Applications/Fig.app/Contents/Frameworks/libswiftFoundation.dylib --prepared:/Applications/Fig.app/Contents/Frameworks/Sparkle.framework/Versions/Current/. --validated:/Applications/Fig.app/Contents/Frameworks/Sparkle.framework/Versions/Current/. --prepared:/Applications/Fig.app/Contents/Helpers/FigInputMethod.app --validated:/Applications/Fig.app/Contents/Helpers/FigInputMethod.app /Applications/Fig.app: a sealed resource is missing or invalid file modified: /Applications/Fig.app/Contents/Resources/fig-iterm-integration.scpt

On Sep 12, 2022, at 10:59 PM, Casey Nixon @.***> wrote:

Oh, I’d attached a screenshot. It must not have come through.

@. ~ % FIG_LOG_LEVEL=trace fig source error: 0: Could not sync remote dotfiles 1: Unexpected Server Error: Cannot find module @./plugins/dist/cjs/plugins/listbox/index.js' imported from @.***/plugins/dist/cjs/util/index.js

Location: fig_cli/src/cli/source.rs:21

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets.

On Sep 12, 2022, at 10:40 PM, Matt Schrage @.***> wrote:

And share the output here?

— Reply to this email directly, view it on GitHub https://github.com/withfig/fig/issues/1778#issuecomment-1244925458, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXA7YMGMMAXL6BW6K76PF7TV6AHTRANCNFSM6AAAAAAQK6QPYM. You are receiving this because you authored the thread.

AlwaysAwake commented 1 year ago

@mschrage Currently I'm having this issue too while setting up my new Mac. It keeps finding the Oh My ZSH module even I already removed all fig plugins.

% RUST_BACKTRACE=1 FIG_LOG_LEVEL=trace fig source error: 0: Could not sync remote dotfiles 1: Unexpected Server Error: Cannot find module '/node_modules/@fig/plugins/dist/cjs/plugins/Oh My ZSH/index.js' imported from /node_modules/@fig/plugins/dist/cjs/util/index.js

Location: fig_cli/src/cli/source.rs:21

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 3 frames hidden ⋮                               
   4: fig_cli::cli::Cli::execute::{{closure}}::hf3575b1e1f06335b
      at <unknown source file>:<unknown line>
   5: <tokio::future::maybe_done::MaybeDone<Fut> as core::future::future::Future>::poll::h6b0cf37cef8e15de
      at <unknown source file>:<unknown line>
   6: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::hc0027f361110f5aa
      at <unknown source file>:<unknown line>
   7: tokio::runtime::context::budget::h13a5b1e110699932
      at <unknown source file>:<unknown line>
   8: tokio::runtime::park::CachedParkThread::block_on::h9ebfb7dd3ae2ec93
      at <unknown source file>:<unknown line>
   9: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h319e8cf24a2056d9
      at <unknown source file>:<unknown line>
  10: tokio::runtime::runtime::Runtime::block_on::h62164b8f7d1bd509
      at <unknown source file>:<unknown line>
  11: fig_cli::main::h3fe1489d1df38b1a
      at <unknown source file>:<unknown line>
  12: std::sys_common::backtrace::__rust_begin_short_backtrace::h93cf77c2b653667f
      at <unknown source file>:<unknown line>
  13: std::rt::lang_start::{{closure}}::hb3ab9df7b4e38373
      at <unknown source file>:<unknown line>
  14: std::rt::lang_start_internal::h94fa211da9d06d56
      at <unknown source file>:<unknown line>
  15: _main<unknown>
      at <unknown source file>:<unknown line>
qu8n commented 1 year ago

Anyone has any luck with this issue? Really wanted to like Fig so I'm surprised that this trivial issue has yet been addressed.

garyblankenship commented 1 year ago

Same. edit did nothing and it's working fine anyway.

❯ RUST_BACKTRACE=1 FIG_LOG_LEVEL=trace fig source
error:
   0: Could not sync remote dotfiles
   1: Unexpected Server Error: Cannot find module '/node_modules/@fig/plugins/dist/cjs/plugins/powerlevel10k/index.js' imported from /node_modules/@fig/plugins/dist/cjs/util/index.js (status: 500 Internal Server Error, error_id: 068b4ef84bfc420ca8ed28ad1140c2fb)

Location:
   fig_cli/src/cli/source.rs:21

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 3 frames hidden ⋮
   4: fig_cli::cli::Cli::execute::{{closure}}::hd3e3f173b67db8fb
      at <unknown source file>:<unknown line>
   5: <tokio::future::poll_fn::PollFn<F> as core::future::future::Future>::poll::h2627253e42864015
      at <unknown source file>:<unknown line>
   6: tokio::runtime::park::CachedParkThread::block_on::h695a2f3d630fd928
      at <unknown source file>:<unknown line>
   7: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h9c3b4d659c2580f7
      at <unknown source file>:<unknown line>
   8: tokio::runtime::runtime::Runtime::block_on::h2973cc17ef8f1f6e
      at <unknown source file>:<unknown line>
   9: fig_cli::main::h98ca84d0de0adc5b
      at <unknown source file>:<unknown line>
  10: std::sys_common::backtrace::__rust_begin_short_backtrace::h6073c52d2094f588
      at <unknown source file>:<unknown line>
  11: std::rt::lang_start::{{closure}}::h4d1cb43b998788b3
      at <unknown source file>:<unknown line>
  12: std::rt::lang_start_internal::h9f0566e553deb11e
      at <unknown source file>:<unknown line>
  13: _main<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
qu8n commented 1 year ago

For those encountering this, the solution here fixed it for me. Basically reinstalling Fig.