After a long-due overhaul of version updates (always painful), I am left with the following errors:
Error: src/app/pages/home/home.page.html:1:1 - error NG8001: ‘ion-header’ is not a known element:
- If ‘ion-header’ is an Angular component, then verify that it is part of this module.
- If ‘ion-header’ is a Web Component then add ‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component to suppress this message.
1
Here is my module:
import { NgModule } from ‘@angular/core’;
import { CommonModule } from ‘@angular/common’;
import { IonicModule } from ‘@ionic/angular’;
import { FormsModule } from ‘@angular/forms’;
import { RouterModule } from ‘@angular/router’;
import { HomePage } from ‘./home.page’;
import { BreadcrumbModule } from “xng-breadcrumb”;
import { HomePageRoutingModule } from ‘./home.page.routing.module’;
@NgModule({
imports: [
CommonModule,
FormsModule,
BreadcrumbModule,
IonicModule,
RouterModule,
HomePageRoutingModule
],
declarations: [ HomePage ]
})
export class HomePageModule {}
ionic info
Ionic:
Ionic CLI : 7.2.0 (C:\Users\knetherland\AppData\Local\pnpm\global\5.pnpm@ionic+cli@7.2.0\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 7.7.0
@angular-devkit/build-angular : 16.2.12
@angular-devkit/schematics : 16.2.12
@angular/cli : 16.2.12
@ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 4.6.3
@capacitor/android : 4.6.3
@capacitor/core : 4.6.3
@capacitor/ios : 4.6.3
Utility:
cordova-res : 0.15.4
native-run : 1.7.4
System:
NodeJS : v20.11.0 (C:\Program Files\nodejs\node.exe)
npm : 10.2.4
OS : Windows 10