Believe I had this issue when I had somehow manually excluded node_modules. When I click Mark As I was confused because it didn't say "Excluded". I chose another option, which released the exclusion. Now the Mark As menu contains "Not Excluded" (I guess it's automatically excluded) and I don't have the Project Errors containing errors from node_modules.