-
-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Vue Semantic Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information. #3364
Comments
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"allowJs": true,
"lib": ["ESNext", "DOM"],
"skipLibCheck": true,
"baseUrl":".",
"paths": {
"@/*": ["src/*"],
},
"types": ["pinia-plugin-persist", "vite/client"],
"strictNullChecks": false,
"suppressImplicitAnyIndexErrors": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"noImplicitAny": false,
"importsNotUsedAsValues": "preserve",
"ignoreDeprecations": "5.0",
"outDir": "./dist"
},
"include": [
"types/**/*.d.ts",
"*.ts",
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue" ,
"vite.config.ts"
],
"exclude": ["node_modules", "tsconfig.node.json", "dist"]
} |
Duplicate of # #3336 Can you reproduce this problem in http://github.com/johnsoncodehk/volar-starter ? Unfortunately I don't use Windows so can't check with WSL2. |
It goes smooth with https://github.com/johnsoncodehk/volar-starter and any new vue-ts projects. |
Im getting an issue like this in my vscode using WSL2, I just started a new project in Vue3 with the npm init command and added Primevue for the UI and I have this errors:
|
Hello, @johnsoncodehk . I've thoroughly investigated the issue, and it appears that, on occasion, there are files or directories that aren't being located correctly on Windows. To gain a deeper understanding of the problem, we need to look further into the specifics. For example, I examined a package that contained both compiled JS and d.ts files. There seems to be a potential conflict, although I cannot confirm this with absolute certainty. The most expedient solution, which will also prevent similar errors in the future, is to assume that files and directories might not exist. I've implemented this change in the "volar" codebase. Could you kindly review it? |
@franz-bendezu Thanks for looking into it! I haven't merged the PR yet, but I packaged it if anyone needs it. |
Error details:
Associated infos:
VSCode plugins:
local vscode settings.json:
I tried to remove settings.json file and reload vscode, still got no luck.
I reviewed #3246 issue, and 'JavaScript and TypeScript Nightly' plugin not installed.
It's so frustrate to get this error all the time. Help Wanted!
The text was updated successfully, but these errors were encountered: