8000 Build error(s) after upgrading to v3.x.x, missing __VLS_fake.d.ts · Issue #5472 · vuejs/language-tools · GitHub
[go: up one dir, main page]

Skip to content
Build error(s) after upgrading to v3.x.x, missing __VLS_fake.d.ts #5472
Open
@mustanggb

Description

@mustanggb

Vue - Official extension or vue-tsc version

v3.0.1

VSCode version

v1.100.3

Vue version

v3.5.17

TypeScript version

v5.8.3

System Info

System:
    OS: Linux 6.8 Alpine Linux
    CPU: (2) arm64 Neoverse-N1
    Memory: 3.00 GB / 7.63 GB
    Container: Yes
    Shell: Unknown - /bin/sh
Binaries:
    Node: 23.11.0 - /tmp/xfs-35cef373/node
    Yarn: 4.9.2 - /tmp/xfs-35cef373/yarn

package.json dependencies

{
  "name": "my-vue-app",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "vue-tsc -b && vite build",
    "preview": "vite preview"
  },
  "dependencies": {
    "vue": "^3.5.17"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^6.0.0",
    "@vue/tsconfig": "^0.7.0",
    "typescript": "~5.8.3",
    "vite": "^7.0.0",
    "vue-tsc": "^3.0.1"
  },
  "packageManager": "yarn@4.9.2"
}

Steps to reproduce

  • yarn create vite my-vue-app --template vue-ts
  • cd my-vue-app
  • yarn install
  • yarn up vue-tsc@latest
  • yarn vue-tsc -b

What is expected?

Succeeds without error.

What is actually happening?

src/App.vue:31:22 - error TS6053: File './src/__VLS_fake.d.ts' not found.
31 /// <reference path="./__VLS_fake.d.ts" />

src/components/HelloWorld.vue:42:22 - error TS6053: File './src/components/__VLS_fake.d.ts' not found.
42 /// <reference path="./__VLS_fake.d.ts" />

Found 2 errors.

Link to minimal reproduction

https://github.com/mustanggb/vue-tsc-vls-fake
https://github.com/mustanggb/vue-tsc-vls-fake/actions/runs/16028462521/job/45222469397

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    good reproduction ✨This issue provides a good reproduction, we will be able to investigate it first

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0