Closed FuDesign2008 closed 1 year ago
The language server crashed. You can see that in the debug ouput and this message:
2023-07-07 00:46:54,726 - ERROR - Server reported: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './vetur/tags.json' is not defined by "exports" in /Users/fuyg/workspace/github2008/vue2-test/node_modules/vue-router/package.json at new NodeError (node:internal/errors:387:5) at throwExportsNotFound (node:internal/modules/esm/resolve:365:9) at packageExportsResolve (node:internal/modules/esm/resolve:649:3) at resolveExports (node:internal/modules/cjs/loader:554:36) at Function.Module._findPath (node:internal/modules/cjs/loader:594:31) at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1012:27) at Function.resolve (node:internal/modules/cjs/helpers:114:19) at getDependencyTagProvider (/Users/fuyg/.fudesign2008.vim/.vim/bundle/lsp-examples/vue/node_modules/vls/dist/vls.js:756:3285) at getTagProviderSettings (/Users/fuyg/.fudesign2008.vim/.vim/bundle/lsp-examples/vue/node_modules/vls/dist/vls.js:756:6234) at new HTMLMode (/Users/fuyg/.fudesign2008.vim/.vim/bundle/lsp-examples/vue/node_modules/vls/dist/vls.js:757:1445) 2023-07-07 00:46:55,116 - ERROR - The language server communication channel closed unexpectedly.
If I just try a simple vue app with vue create testapp
I still don't get anything useful from the server, but it at least seems to start up and initialise correctly.
Looks like there's lots of config, and complexit, involved in vis now.
I would suggest reporting/askin the VLS developers why it's creashing/not working.
If I just try a simple vue app with
vue create testapp
I still don't get anything useful from the server, but it at least seems to start up and initialise correctly.Looks like there's lots of config, and complexit, involved in vis now.
I would suggest reporting/askin the VLS developers why it's creashing/not working.
I have tried different completion solutions. YCM is the fastest, and the user experience is the best. For I write codes in *.vue
files almost every day, so I hope YCM will provide a better support for *.vue
.
Respect and thanks a lot for YCM and @puremourning
I can see nothing in the logs that suggests a problem with YCM only a problem with the server or your project.
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
inside the brackets) before filing your issue:vim --version
.:YcmDebugInfo
.:YcmToggleLogs
command.vim -Nu /path/to/YCM/vimrc_ycm_minimal
, including what I expected to happen and what actually happened.install.py
(orcmake
/make
/ninja
) including its invocationThank you for adhering to this process! It ensures your issue is resolved quickly and that neither your nor our time is needlessly wasted.
Issue Details
*.vue
filevim -Nu /path/to/YCM/ycm_vimrc_minimal
:edit ./src/components/CreateIssueHint.vue
, see vue2-projectthis.
, expect YouCompleteMe + vls give some good completionexpect YouCompleteMe + vls give some good completion
Run
:YcmDebugInfo
:Diagnostic data
Output of
vim --version
Output of
YcmDebugInfo
Output of
YcmDiags
Output of
git rev-parse HEAD
in YouCompleteMe installation directoryContents of YCM, ycmd and completion engine logfiles
https://gist.github.com/FuDesign2008/e9eeeb882b3fdb430e3197a75a573a14
OS version, distribution, etc.
MacOs 13.4.1 (22F82) + M1
Output of build/install commands