Closed snilli closed 2 years ago
Running into this occasionally as well. Without having any more context, feels like a rate limiting / server performance issue, due to the on and off nature of the problem for me.
Hey @mvgijssel @snilli thanks for reporting this. We've been investigating some backend performance issues and believe this should be resolved (or at least mitigated).
Can you run FIG_LOG_LEVEL=trace fig source
and share the output here?
@mschrage unable to reproduce, working as a charm now ❤️.
❯ FIG_LOG_LEVEL=trace fig source
✅ Dotfiles sourced!
@mvgijssel great to hear! I'll leave this issue open for confirmation from @snilli, but I think this likely has been resolved.
I find root caust. That don't find module in node_module
It looks like you've managed to add a plugin that doesn't exist.
Run the following command and this issue should be resolved:
fig plugins remove oh-my-posh
This issue has been automatically closed because there has been no activity for 14 days.
@mschrage I'm still having this issue while setting up my new Mac. It keeps finding the Oh My ZSH module even I already removed that all 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>
I'm getting a Reqwest error for some reason
error:
0: Could not sync remote dotfiles
1: Reqwest error: error sending request for url (https://api.fig.io/dotfiles/source/all?os=macos&architecture=aarch64&device=476622b2de9a76bc76ab78eb616aed0f7329bf55219102dbafc0fe97f08b30b6&pluginsDirectory=%2FUsers%2Fandy%2F.local%2Fshare%2Ffig%2Fplugins&macosVersion=13.3.1): error trying to connect: tls handshake eof
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.
Sanity checks
fig doctor
in the affected terminal sessionfig restart
and tested again (tell us if that fixed it)Issue Details
~/.zshrc
Environment