I am trying to use Angular module implemented in a library (project) which exists in a separate Angular application. In IntelliJ I am getting an error Class MyModule is not an Angular module
and all the library seems to not be recognized in IntelliJ while I can successfully run ng build
for this project. Whats even more weird is that I have actually two Angular libraries existing in the other Angular app and I can use modules from the other library without issues.
I've visited other similarly looking problems related to class is not an Angular module
yet they does not seem to be related.