最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

reactjs - VSCode doesn't show errors for missing files." - Stack Overflow

programmeradmin2浏览0评论

VSCode doesn't show errors for missing files."

enter image description here

I'm working on a Vite and React project, and I have noticed that VSCode doesn't show any errors for missing files. For example, if I import a file (e.g., App.css) that doesn’t actually exist in the project directory, VSCode doesn't display any errors or warnings. This issue persists even after I clean the cache and restart the editor.

I am using the default Vite setup with React, and I’ve also checked my VSCode settings, but I can't figure out why it isn't throwing errors for missing files.

Has anyone faced this issue before or know how to resolve it?

发布评论

评论列表(0)

  1. 暂无评论