Error: No component factory found for ... Angular 2 / Ionic 2

The error EXCEPTION: Uncaught (in promise): Error: No component factory found for YourPageHere in Ionic 2 RC1 most likely mean that you have forgotten to declare your newly created page inside your app.module:

    ...
    import { LoggedInPage } from '../pages/logged-in/logged-in';
    ...
    @NgModule({
        ...
        declarations: [
            ...
            LoggedInPage
        ],
        ...
        entryComponents: [
            ...
            LoggedInPage
        ],
        ...
    })

Comments

Popular posts from this blog

Auto Mapper and Record Types - will they blend?

Unit testing your Azure functions - part 2: Queues and Blobs

Testing WCF services with user credentials and binary endpoints