reactjsvisual-studio-code

Why VS Code contains emphasized items but no error?


I'm writing a React project in VS code. I met this problem in VS code. In my project, this folder shows Contains emphasized items and I know it means there is an error in my files. But in the picture:

vs code project,

I have checked all files but no error was found. So this makes me feel confused.

I have searched this problem on google and found a similar GitHub issue. https://github.com/Microsoft/vscode/issues/54960


Solution

  • Committing once with git can be resolved.