Webstorm does not recognize Angular elements/components
Suddenly, without changing something, Webstorm does not recognize the Angular elements/components etc. First time this happened I restored the IDE to its default settings and the problem solved, but now, the warning appeared again.



Please sign in to leave a comment.
Looks like Angular support is not enabled for your project; there can be multiple reasons for this issue - broken installation, missing plugins, project misconfiguration.
Please check that Angular and AngularJS plugin is installed and enabled in Settings | Plugins, and that
node_modules\@angular\corefolder is not excluded from project (see what color it's shown with in Project explorer)I have the Angular & AngularJS plugin installed and enabled, but my project explorer is greyed out :/
You must be using some custom theme plugin... But, as far as I can see, the
node_modulesfolder is not marked as library root as it should. Please share screenshots of Settings | Directories and Settings | Languages & Frameworks | JavaScript | Libraries pagesΙ re-opened the project and now works fine. What causes this?
No idea; nice to hear it works now
Im having the same issue with the latest version of Webstorm today. Even restarting does not fix
Please check that Angular and AngularJS plugin is installed and enabled in Settings | Plugins, and that
node_modules\@angular\corefolder is not excluded from project (see what color it's shown with in Project explorer)I hope this helps someone.
1. Invalidate all caches: File>Invalidate Caches
2. Delete your node_modules folder completely
3. Run: npm i
4. Give webstorm a few moments to index everything.