vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.56k stars 373 forks source link

When I create a new VUE file or copy an existing VUE file, the file will say“File module not found” #4374

Closed cMing1997 closed 3 weeks ago

cMing1997 commented 1 month ago

Problem

  1. When I create a new vue file, I introduce a module reference that says, “This module can not be found.”

  2. When I copy a clean file into the same directory, there are still a lot of “Can not find this module” messages in the newly copied file

  3. When I encounter this problem, restart the current vs code window, or reload the plug-in, and these error messages disappear

Screenshot

GIF 2024-5-13 11-18-58

GIF 2024-5-13 11-20-59

Info

版本: 1.89.0 (user setup)
提交: b58957e67ee1e712cebf466b995adf4c5307b2bd
日期: 2024-05-01T02:09:22.859Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

Plugin Version

v2.0.8
don-boldyrev commented 1 month ago

Same issue. Waiting for update

davidmatter commented 3 weeks ago

Set typescript.tsserver.experimental.useVsCodeWatcher to false https://github.com/vuejs/language-tools/issues/4424

so1ve commented 3 weeks ago

Duplicate of #4424