Closed Shuzhenzhou closed 1 year ago
lsp_recheck_sessions. Encountered infinite loop
is not an issue and is unrelated to the crash.
As for the crash, check the output after running LSP: Toggle Log Panel command
ok , thank; but logs print SyntaxError: Unexpected token '??=' what should I do
Do I need to change it one by one?
It looks like your global version of node is 14.21.3.
there are two options I can suggest: a) You could install a newer version of node, for example 16. This option affects your system.
b)From the command palette select: Preference: LSP Utils Settings
and set the following in lsp_utils.sublime-settings:
{
"nodejs_runtime": ["local"],
}
That will download a local Node 16.15.0(it will not mess with your global node version) and will be used by LSP-* based plugins. It is stored in the sublime caches folder. On Window that path should be %LocalAppData%/Sublime Text.
thanks
Error rewriting command lsp_recheck_sessions. Encountered infinite loop
LSP: LSP-volar crashed (1 / 5 times in the last 180.0 seconds), exit code 1, exception: None LSP: LSP-volar crashed (2 / 5 times in the last 180.0 seconds), exit code 1, exception: None LSP: LSP-volar crashed (3 / 5 times in the last 180.0 seconds), exit code 1, exception: None LSP: LSP-volar crashed (4 / 5 times in the last 180.0 seconds), exit code 1, exception: None LSP: LSP-volar crashed (5 / 5 times in the last 180.0 seconds), exit code 1, exception: None