'does not appear to be an NgModule class.' error after updating to Angular@15
I'm trying to update from Angular@13 to Angular@15. After doing so, I'm getting compile error that I completely don't understand. 'SharedModule' does not appear to be an NgModule class. src/app/shared/shared.module.ts:127:14 127 export class SharedModule { ~~~~~~~~~~~~ Is it missing an @NgModule annotation? It is module that I use in a whole project that has other modules imported. Here is code with that module. @NgModule annotation is there. import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {RouterModule} from '@angular/router'; import {FontAwesomeMo
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.