language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

Nuxt3 auto import and alias import failed with v2.0.0

Open 21stc-09 opened this issue 1 year ago • 8 comments

error info plugin: ts-plugin (2304、2307)

Vue - Official:v2.0.0

System: 版本 Windows 10 专业版 版本号 22H2 安装日期 ‎2023/‎11/‎3 操作系统内部版本 19045.4046 体验 Windows Feature Experience Pack 1000.19053.1000.0

vscode verision: 版本: 1.87.0 (user setup) 提交: 019f4d1419fbc8219a181fab7892ebccf7ee29a2 日期: 2024-02-27T23:41:44.469Z Electron: 27.3.2 ElectronBuildId: 26836302 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.19045

7093610288246

21stc-09 avatar Mar 02 '24 06:03 21stc-09

The project runs normally but vscode displays abnormally

1 2 3

21stc-09 avatar Mar 02 '24 06:03 21stc-09

After some time everything worked fine and I didn't do anything

And after i open some files, it happened again

21stc-09 avatar Mar 02 '24 06:03 21stc-09

i found the same error on the other project.

4

21stc-09 avatar Mar 02 '24 06:03 21stc-09

I upgraded to version 2.0.0 of the Vue extension today, and the same issue occurred. When I use alias and auto-imports, VSCode displays errors, though the build process completes successfully. Somotimes this error disappears, but occurs again. I have removed TypeScript Vue Plugin and disabled takeover mode.

image

takahashi-sdi avatar Mar 02 '24 07:03 takahashi-sdi

I'm having the same problem.

AQian0 avatar Mar 02 '24 07:03 AQian0

Is this still an issue with the latest version and Hybrid Mode - Auto?

davidmatter avatar Jul 07 '24 13:07 davidmatter

@davidmatter Yes, this issue still persists in the latest version.

takahashi-sdi avatar Jul 08 '24 01:07 takahashi-sdi

Could anyone provide a minimal reproduction?

kermanx avatar Aug 13 '24 10:08 kermanx

If this is still a problem at the latest version, please feel free to reopen the issue or open a new one with more information and a minimal reproduction.

KazariEX avatar Feb 20 '25 20:02 KazariEX