Skip to content

Volar 3.0.0‑alpha.6 language-server crash: TypeError ‘.map’ of undefined #5350

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

Closed
1manfactory opened this issue May 5, 2025 · 1 comment

Comments

@1manfactory
Copy link

Vue - Official extension or vue-tsc version

3.0.0‑alpha.6

VSCode version

VSCodium 1.99

Vue version

[email protected]

TypeScript version

none

System Info

Version: 1.99.32846 (user setup)
Commit: 0d1cad16ae0ec643ad1fd85b4ba8e52dacf42e85
Date: 2025-04-28T14:54:58.643Z
Electron: 34.3.3
ElectronBuildId: undefined
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

package.json dependencies

"dependencies": {
    "@mdi/font": "^7.4.47",
    "axios": "^1.8.4",
    "cors": "^2.8.5",
    "dotenv": "^16.5.0",
    "express": "^5.1.0",
    "jsonwebtoken": "^9.0.2",
    "mitt": "^3.0.1",
    "pinia": "^3.0.2",
    "pinia-plugin-persistedstate": "^4.2.0",
    "uuid": "^11.1.0",
    "vite-plugin-vuetify": "^2.1.1",
    "vue": "^3.5.13",
    "vue-router": "^4.5.0",
    "vue3-tour": "^1.0.3",
    "vuetify": "^3.8.0"
  },
  "devDependencies": {
    "@eslint/js": "^9.25.1",
    "@vitejs/plugin-vue": "^5.2.3",
    "@vue/eslint-config-prettier": "^10.2.0",
    "eslint": "^9.25.1",
    "eslint-plugin-vue": "~10.0.0",
    "globals": "^16.0.0",
    "prettier": "3.5.3",
    "terser": "^5.39.0",
    "vite": "^6.3.0",
    "vite-plugin-vue-devtools": "^7.7.2"
  }

Steps to reproduce

The Vue server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

TypeError: Cannot read properties of undefined (reading 'map')
at ca (/home/juergen/.vscodium-server/extensions/vue.volar-3.0.0-alpha.6-universal/dist/getPropertiesAtLocation-D4dzqf-d.js:233:9301)
at <instance_members_initializer> (/home/juergen/.vscodium-server/extensions/vue.volar-3.0.0-alpha.6-universal/dist/getPropertiesAtLocation-D4dzqf-d.js:233:17203)
at new Sa (/home/juergen/.vscodium-server/extensions/vue.volar-3.0.0-alpha.6-universal/dist/getPropertiesAtLocation-D4dzqf-d.js:233:17567)
at Object.createVirtualCode (/home/juergen/.vscodium-server/extensions/vue.volar-3.0.0-alpha.6-universal/dist/getPropertiesAtLocation-D4dzqf-d.js:233:18515)
at Object.set (/home/juergen/.vscodium-server/extensions/vue.volar-3.0.0-alpha.6-universal/dist/getPropertiesAtLocation-D4dzqf-d.js:1:9722)
at /home/juergen/.vscodium-server/extensions/vue.volar-3.0.0-alpha.6-universal/dist/server.js:13300:6331
at Object.get (/home/juergen/.vscodium-server/extensions/vue.volar-3.0.0-alpha.6-universal/dist/getPropertiesAtLocation-D4dzqf-d.js:1:8684)
at Object.getDiagnostics (/home/juergen/.vscodium-server/extensions/vue.volar-3.0.0-alpha.6-universal/dist/server.js:1:68352)
at /home/juergen/.vscodium-server/extensions/vue.volar-3.0.0-alpha.6-universal/dist/server.js:19:45010
at Immediate. (/home/juergen/.vscodium-server/extensions/vue.volar-3.0.0-alpha.6-universal/dist/server.js:19:47151)

Node.js v20.18.2
[Error - 20:27:32] Server process exited with code 1.
[Error - 20:27:32] The Vue server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

What is expected?

no crush

What is actually happening?

messagebox
The Vue server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

Plugin stops working, e.g. no formatting any more.

Link to minimal reproduction

No response

Any additional comments?

No response

@KazariEX
Copy link
Member

KazariEX commented May 6, 2025

#5261 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants