Skip to content

Language service plugin "css" (14) failed to provide document feature for volar-embedded-content:demo.vue. TypeError: target.endsWith is not a function #5785

@sepZeng

Description

@sepZeng

Vue - Official extension or vue-tsc version

3.1.5

VSCode version

1.106.3

Vue version

3.5.25

TypeScript version

5.9.3

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 AMD Ryzen 5 5600 6-Core Processor
    Memory: 23.76 GB / 31.89 GB
  Binaries:
    Node: 22.17.0 - C:\Users\zyang\AppData\Local\fnm_multishells\5712_1764467118228\node.EXE
    npm: 10.9.2 - C:\Users\zyang\AppData\Local\fnm_multishells\5712_1764467118228\npm.CMD   
    pnpm: 10.12.4 - C:\Users\zyang\AppData\Local\fnm_multishells\5712_1764467118228\pnpm.CMD
  Browsers:
    Chrome: 142.0.7444.176
    Edge: Chromium (140.0.3485.54)
    Internet Explorer: 11.0.19041.5794

package.json dependencies

{
  "name": "nuxt-app",
  "type": "module",
  "private": true,
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev --mode dev",
    "preview": "nuxt preview"
  },
  "dependencies": {
    "@cofex/i18n": "workspace:*",
    "@cofex/ui": "workspace:*",
    "@pinia/nuxt": "^0.11.3",
    "@tanstack/vue-virtual": "^3.13.12",
    "@vueuse/nuxt": "^14.1.0",
    "class-variance-authority": "^0.7.1",
    "dayjs": "^1.11.19",
    "decimal.js": "^10.6.0",
    "echarts": "^6.0.0",
    "nuxt": "^4.2.1",
    "pinia-plugin-persistedstate": "^4.7.1",
    "tailwind-merge": "^3.4.0"
  },
  "devDependencies": {
    "@faker-js/faker": "^10.1.0",
    "@types/node": "^24.10.1",
    "sass": "^1.94.2"
  }
}

Steps to reproduce

open a vue file

What is expected?

works well,

What is actually happening?

parse error ,and type works errorly

Link to minimal reproduction

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions