error NG6002: Appears in the NgModule.imports of DashboardModule, but could not be resolved to an NgModule class.
Your module is not yet loaded by the Angular Server in node ng serve, so restart your server so the server loads the module that you just added in @NgModule app.module.ts