Closed alecandido closed 1 year ago
at Object.watchFile (/home/alessandro/.config/coc/extensions/node_modules/coc-vue/node_modules/@vuedx/typescript-plugin-vue/lib/standalone.cjs:166:16830)
Seems bad watch arguments from coc-vue.
Try different tsserver by use tsserver.tsdk
configuration.
Seems bad watch arguments from coc-vue.
You're right, uninstalling coc-vue
removes the issue.
Try different tsserver by use
tsserver.tsdk
configuration.
Which are the alternatives?
Ok, sorry. I thought you were referring to different packages, not different package versions.
tsserver.tsdk
: Specifies the folder path to the tsserver and lib*.d.ts files under a TypeScript install to use for IntelliSense, for example: ./node_modules/typescript/lib. - When specified as a user setting, the TypeScript version from tsserver.tsdk automatically replaces the built-in TypeScript version. - When specified as a workspace setting, the tsserver is used when tsserver.useLocalTsdk is true. Use command :CocCommand tsserver.chooseVersion to choose different typescript version. Default: ""
Should I set just to the version number?
{
"tsserver.tsdk": "4.9.4"
}
Because it seemed like I should have used chooseVersion
for that:
tsserver.chooseVersion
Choose different typescript version for current project.
Specifies the folder path to the tsserver and lib*.d.ts files under a TypeScript install to use for IntelliSense, for example: ./node_modules/typescript/lib.
It should be a file path to the lib folder.
This is the head of the error:
and here the rest of the stack trace
``` TypeError [ERR_INVALID_ARG_TYPE]: The "interval" argument must be of type number. Received undefined at StatWatcher.coc-tsserver v2.1.0