Closed gromov-io closed 3 years ago
You can try to:
LSP: Troubleshoot Server
option from the command palette before the server crashes. Post the output here.Вы можете попробовать:
- перезапустите ST и используйте
LSP: Troubleshoot Server
опцию из палитры команд до того, как сервер выйдет из строя. Опубликуйте результат здесь.- Отключите пакет LSP-typescript и снова включите его. Это переустановит зависимость.
startup, version: 4101 linux x64 channel: dev
executable: /opt/sublime_text/sublime_text
application: /opt/sublime_text
working dir: /home/gromov
packages path: /home/gromov/.config/sublime-text/Packages
state path: /home/gromov/.config/sublime-text/Local
zip path: /opt/sublime_text/Packages
zip path: /home/gromov/.config/sublime-text/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 0.237303
startup time: 0.387102
git: located Sublime Merge installed at /opt/sublime_merge
git: using configuration from system git install
git: tracking working dir /home/gromov/projects/dnr.dev/admin
Unable to fetch update url contents
first paint time: 0.437305
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.html_print
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading python 3.3 plugin 0_package_control_loader.00-package_control
reloading python 3.3 plugin 0_package_control_loader.01-pygments
reloading python 3.3 plugin 0_package_control_loader.01-sublime_lib
reloading python 3.3 plugin 0_package_control_loader.10-lsp_utils
reloading python 3.3 plugin 0_package_control_loader.50-backrefs
reloading python 3.3 plugin 0_package_control_loader.50-bracex
reloading python 3.3 plugin 0_package_control_loader.50-markupsafe
reloading python 3.3 plugin 0_package_control_loader.50-pymdownx
reloading python 3.3 plugin 0_package_control_loader.50-python-markdown
reloading python 3.3 plugin 0_package_control_loader.50-pyyaml
reloading python 3.3 plugin 0_package_control_loader.51-python-jinja2
reloading python 3.3 plugin 0_package_control_loader.55-mdpopups
reloading python 3.3 plugin 0_package_control_loader.55-wcmatch
reloading python 3.3 plugin LSP-typescript.plugin
reloading plugin Default.keymap
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
reloading python 3.3 plugin LSP.boot
reloading python 3.3 plugin Package Control.1_reloader
reloading python 3.3 plugin Package Control.2_bootstrap
reloading python 3.3 plugin Package Control.Package Control
plugins loaded
LSP: enabled configs: LSP-typescript
LSP: disabled configs: clangd, dart, elixir-ls, erlang-ls, flow, gopls, haskell-ide-engine, jdtls, ocaml, polymer-ide, pyls, rlang, ruby, rust-analyzer, sorbet, sourcekit-lsp
LSP: starting ['/home/gromov/.config/sublime-text/Package Storage/lsp_utils/node-runtime/12.20.2/node/bin/node', '/home/gromov/.config/sublime-text/Package Storage/LSP-typescript/12.20.2/typescript-language-server/node_modules/typescript-language-server/lib/cli.js', '--stdio'] in /home/gromov/projects/dnr.dev/admin
Package Control: Skipping automatic upgrade, last run at 2021-04-10 18:57:20, next run at 2021-04-10 19:57:20 or after
LSP: applying .sublime-project override for LSP-typescript
Ubuntu 20.10 Node: 14.06 (nvm) Sublime: 4101
That is not the info I've asked for.
I've asked to run LSP: Troubleshoot Server
from the Command Palette.
Also, you haven't replied if you've tried:
Disable the LSP-typescript package and re-enable it again. This will reinstall the dependency.
Is something supposed to happen when running the Troubleshoot Server
command? I'm not seeing anything (running on ST 4102)
I tried it on ST 4090 and at least this time I can run the troubleshoot (I replaced my project name here with [project_name]) I suspect that this is the same error it's getting in 4102 but maybe not
[Errno 13] Permission denied
[
"${node_bin}",
"${server_path}",
"--stdio"
]
${node_bin} ${server_path} --stdio
(source.jsx | source.js.react)|(source.js)|(source.tsx)|(source.ts)
(source.javascriptreact)|(source.javascript)|(source.typescriptreact)|(source.typescript)
{}
{}
{}
/Users/jgarcia/_dev/[project_name]/src/types/schema/index.ts
{
"auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
"lsp_active": true,
"syntax": "Packages/JavaScript/TypeScript.sublime-syntax"
}
source.ts
[
"/Users/jgarcia/_dev/[project_name]"
]
Try:
Satisfy Dependencies
from the Command Palette (that should update lsp_utils if it was not updated already)Disable Package
)I don't know exactly what I did differently but it's working now, although it still says Permission Denied in the troubleshooter