neovim / nvim-lspconfig

Quickstart configs for Nvim LSP
Apache License 2.0
10.69k stars 2.08k forks source link

[eslint] Cannot read tsconfig.json in the root folder of project #2968

Closed CoolPlayLin closed 9 months ago

CoolPlayLin commented 9 months ago

Description

When I edit file which is not in the folder where is the tsconfig.json, it shows cannot read file in folder of current file image But it runs normally in folder where is the tsconfig.json image

Neovim version

NVIM v0.9.5 Build type: RelWithDebInfo LuaJIT 2.1.1703942320 Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe /MD /Zi /O2 /Ob1 -W3 -wd4311 -wd4146 -DUNIT_TESTING -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_WIN32_WINNT=0x0602 -DMSWIN -DINCLUDE_GENERATED_DECLARATIONS -ID:/a/neovim/neovim/.deps/usr/include/luajit-2.1 -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/build/src/nvim/auto -ID:/a/neovim/neovim/build/include -ID:/a/neovim/neovim/build/cmake.config -ID:/a/neovim/neovim/src -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include

system vimrc file: "$VIM\sysinit.vim" fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"

Run :checkhealth for more info

Nvim-lspconfig version

latest

Operating system and version

Windows11 23H2

Affected language servers

eslint

Steps to reproduce

Open the file which is not in folder where is tsconfig.json

Actual behavior

Runs normally just like this image

Expected behavior

Shows cannot read file in [current file's folder\tsconfig.json]

Minimal config

lspconfig.tsserver.setup ({
    on_attach = on_attach,
    root_dir = lspconfig.util.root_pattern("tsconfig.json", "package.json", "jsconfig.json", ".git"),
    single_file_support = true,
    filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" }
})

LSP log

[START][2024-01-06 10:08:15] LSP logging initiated
[WARN][2024-01-06 10:08:15] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-06 10:08:23] ...lsp/handlers.lua:137 "The language server vuels triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2024-01-06 10:08:23] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at _T.warnProjectIfNeed (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:9301)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10769)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-06 10:08:23] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:568)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-06 10:08:23] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at F (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:781)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:655)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-06 10:08:23] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at new HTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:757:1636)\n    at new VueHTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:767:3668)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1457)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[WARN][2024-01-06 10:08:28] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-06 10:08:43] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[START][2024-01-06 10:18:01] LSP logging initiated
[WARN][2024-01-06 10:18:01] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-06 10:18:07] ...lsp/handlers.lua:137 "The language server vuels triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2024-01-06 10:18:08] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at _T.warnProjectIfNeed (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:9301)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10769)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-06 10:18:08] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:568)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-06 10:18:08] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at F (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:781)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:655)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-06 10:18:08] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at new HTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:757:1636)\n    at new VueHTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:767:3668)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1457)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[WARN][2024-01-06 10:18:08] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-06 10:18:22] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[START][2024-01-06 10:20:56] LSP logging initiated
[WARN][2024-01-06 10:20:56] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-06 10:21:02] ...lsp/handlers.lua:137 "The language server vuels triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2024-01-06 10:21:02] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at _T.warnProjectIfNeed (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:9301)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10769)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-06 10:21:02] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:568)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-06 10:21:02] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at F (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:781)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:655)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-06 10:21:02] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at new HTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:757:1636)\n    at new VueHTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:767:3668)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1457)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[WARN][2024-01-06 10:21:02] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[START][2024-01-13 09:31:02] LSP logging initiated
[WARN][2024-01-13 09:31:02] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-13 09:31:12] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-13 09:31:12] ...lsp/handlers.lua:137 "The language server vuels triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2024-01-13 09:31:13] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at _T.warnProjectIfNeed (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:9301)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10769)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:31:13] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:568)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:31:13] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at F (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:781)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:655)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:31:13] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at new HTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:757:1636)\n    at new VueHTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:767:3668)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1457)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[WARN][2024-01-13 09:31:21] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[START][2024-01-13 09:34:04] LSP logging initiated
[WARN][2024-01-13 09:34:04] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-13 09:34:16] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-13 09:34:17] ...lsp/handlers.lua:137 "The language server vuels triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2024-01-13 09:34:17] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at _T.warnProjectIfNeed (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:9301)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10769)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:34:17] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:568)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:34:17] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at F (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:781)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:655)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:34:17] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at new HTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:757:1636)\n    at new VueHTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:767:3668)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1457)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[START][2024-01-13 09:35:37] LSP logging initiated
[WARN][2024-01-13 09:35:37] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-13 09:35:43] ...lsp/handlers.lua:137 "The language server vuels triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2024-01-13 09:35:43] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at _T.warnProjectIfNeed (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:9301)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10769)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:35:43] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:568)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:35:43] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at F (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:781)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:655)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:35:43] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at new HTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:757:1636)\n    at new VueHTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:767:3668)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1457)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[WARN][2024-01-13 09:35:44] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[START][2024-01-13 09:37:57] LSP logging initiated
[WARN][2024-01-13 09:37:57] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-13 09:38:06] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-13 09:38:06] ...lsp/handlers.lua:137 "The language server vuels triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2024-01-13 09:38:07] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at _T.warnProjectIfNeed (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:9301)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10769)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:38:07] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:568)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:38:07] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at F (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:781)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:655)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 09:38:07] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at new HTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:757:1636)\n    at new VueHTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:767:3668)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1457)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[WARN][2024-01-13 09:38:16] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-13 09:39:38] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-13 09:39:42] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[START][2024-01-13 11:15:06] LSP logging initiated
[WARN][2024-01-13 11:15:06] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2024-01-13 11:15:12] ...lsp/handlers.lua:137 "The language server vuels triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2024-01-13 11:15:12] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at _T.warnProjectIfNeed (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:9301)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10769)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 11:15:12] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:568)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 11:15:12] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at F (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:781)\n    at getServiceHost (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:888:655)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1259)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[ERROR][2024-01-13 11:15:12] ...lsp/handlers.lua:535    "Error: Cannot find module 'vue/package.json'\nRequire stack:\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vueServerMain.js\n- C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\bin\\vls\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)\n    at Function.resolve (node:internal/modules/helpers:188:19)\n    at inferVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:667:3335)\n    at Object.getVueVersion (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:3207)\n    at new HTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:757:1636)\n    at new VueHTMLMode (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:767:3668)\n    at hb.init (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:1457)\n    at createProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:895:8486)\n    at _T.getProjectService (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:10802)\n    at async _T.onSemanticToken (C:\\Users\\CoolPlayLin\\scoop\\persist\\nvm\\nodejs\\v18.19.0\\node_modules\\vls\\dist\\vls.js:896:17264)"
[WARN][2024-01-13 11:15:14] ...lsp/handlers.lua:137 "The language server eslint triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
glepnir commented 9 months ago

could you run :LspInfo ? and try the min config which provide by lspconfig.

CoolPlayLin commented 9 months ago

image

glepnir commented 9 months ago

vuels or tsserver on this buffer? i think you should provide more

CoolPlayLin commented 9 months ago

all configs

local lspconfig_status, lspconfig = pcall(require, "lspconfig")
if not lspconfig_status then
    return
end

local keymap = vim.keymap
local capabilities = vim.lsp.protocol.make_client_capabilities()
local on_attach = function(client, bufnr)
    local opts = { noremap = true, silent = true, buffer = bufnr }
    -- set keybinds
    keymap.set("n", "gD", "<Cmd>lua vim.lsp.buf.declaration()<CR>", opts) -- got to declaration
    keymap.set("n", "gi", "<cmd>lua vim.lsp.buf.implementation()<CR>", opts) -- go to implementation
    keymap.set("n", "<leader>o", "<cmd>LSoutlineToggle<CR>", opts) -- see outline on right hand side
    -- lspsaga
    keymap.set("n", "gf", "<cmd>Lspsaga lsp_finder<CR>", opts) -- show definition, references
    keymap.set("n", "gd", "<cmd>Lspsaga peek_definition<CR>", opts) -- see definition and make edits in window
    keymap.set("n", "gp", "<cmd>Lspsaga preview_definition<CR>", opts)
    keymap.set("n", "<leader>ca", "<cmd>Lspsaga code_action<CR>", opts) -- see available code actions
    keymap.set("n", "<leader>rn", "<cmd>Lspsaga rename<CR>", opts) -- smart rename
    keymap.set("n", "<leader>D", "<cmd>Lspsaga show_line_diagnostics<CR>", opts) -- show  diagnostics for line
    keymap.set("n", "<leader>d", "<cmd>Lspsaga show_cursor_diagnostics<CR>", opts) -- show diagnostics for cursor
    keymap.set("n", "[d", "<cmd>Lspsaga diagnostic_jump_prev<CR>", opts) -- jump to previous diagnostic in buffer
    keymap.set("n", "]d", "<cmd>Lspsaga diagnostic_jump_next<CR>", opts) -- jump to next diagnostic in buffer
    keymap.set("n", "K", "<cmd>Lspsaga hover_doc<CR>", opts) -- show documentation for what is under cursor
    keymap.set("n", "<C-k>", "<cmd>Lspsaga signature_help<CR>", opts)

    -- typescript specific keymaps (e.g. rename file and update imports)
    if client.name == "tsserver" then
        keymap.set("n", "<leader>rf", ":TypescriptRenameFile<CR>") -- rename file and update imports
        keymap.set("n", "<leader>oi", ":TypescriptOrganizeImports<CR>") -- organize imports (not in youtube nvim video)
        keymap.set("n", "<leader>ru", ":TypescriptRemoveUnused<CR>") -- remove unused variables (not in youtube nvim video)
    end
    if client.name == "eslint" then
      vim.api.nvim_create_autocmd(
        "BufWritePre",
        {
            buffer = bufnr,
            command = "EslintFixAll"
        })
    end
end

capabilities.textDocument.completion.completionItem.snippetSupport = true

lspconfig.yamlls.setup({})
lspconfig.jsonls.setup({})
lspconfig.html.setup({})
lspconfig.tailwindcss.setup({})
lspconfig.cssls.setup({})

lspconfig.pyright.setup(
    {
        settings = {
            python = {
                analysis = {
                    typeCheckingMode = "basic",
                    autoSearchPaths = true,
                    useLibraryCodeForTypes = true
                }
            }
        }
    }
)

lspconfig.cssls.setup(
    {
        capabilities = capabilities
    }
)

--Enable (broadcasting) snippet capability for completion
lspconfig.html.setup(
    {
        capabilities = capabilities
    }
)

lspconfig.eslint.setup(
    {
        on_attach = on_attach
    }
)

-- lua
lspconfig.lua_ls.setup ({
  on_attach = on_attach,
  on_init = function(client)
    local path = client.workspace_folders[1].name
    if not vim.loop.fs_stat(path..'/.luarc.json') and not vim.loop.fs_stat(path..'/.luarc.jsonc') then
      client.config.settings = vim.tbl_deep_extend('force', client.config.settings, {
        Lua = {
          runtime = {
            -- Tell the language server which version of Lua you're using
            -- (most likely LuaJIT in the case of Neovim)
            version = 'LuaJIT'
          },
          -- Make the server aware of Neovim runtime files
          workspace = {
            checkThirdParty = false,
            library = {
              vim.env.VIMRUNTIME
              -- "${3rd}/luv/library"
              -- "${3rd}/busted/library",
            }
            -- or pull in all of 'runtimepath'. NOTE: this is a lot slower
            -- library = vim.api.nvim_get_runtime_file("", true)
          }
        }
      })

      client.notify("workspace/didChangeConfiguration", { settings = client.config.settings })
    end
    return true
  end
})

lspconfig.vuels.setup ({
    on_attach = on_attach,
    filetypes = {"typescript", "javascript", "javascriptreact", "typescriptreact", "vue", "json"}
})

lspconfig.denols.setup ({
    on_attach = on_attach,
    root_dir = lspconfig.util.root_pattern("deno.json", "deno.jsonc")
})

lspconfig.tsserver.setup ({
    on_attach = on_attach,
    root_dir = lspconfig.util.root_pattern("tsconfig.json", "package.json", "jsconfig.json", ".git"),
    single_file_support = true,
    filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" }
})

lspconfig.powershell_es.setup ({
    on_attach = on_attach,
    bundle_path = vim.env.PowerShellEditorServices,
    shell = "pwsh.exe"
})
glepnir commented 9 months ago

scroll on lspinfo buffer . i wonder the root of vuels and tsserver , i guess it from vuels?

CoolPlayLin commented 9 months ago

@glepnir No, it is actually tssever's error message image I deleted the vue's config but it still shows

glepnir commented 9 months ago

root is correct ? if true i think it work as expect.

CoolPlayLin commented 9 months ago

How to ensure root is correct?

glepnir commented 9 months ago

emmm...where is your project root folder? and disable the eslint server , this error message still shown ?

CoolPlayLin commented 9 months ago

image 好像确实是 eslint 的问题

glepnir commented 9 months ago

config your eslitrc.js