This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The (typical) user isn't in control of any code in these folders, so error badges only serve to annoy. This is also likely an unnecessary performance drag since there are often zillions of files in "node_modules".