Ionic 2 Error: Uncaught (in promise): invalid views to insert

Hey community

I am getting an error i cant seem to find much ionic2 help on please assist - a couple of people have this error.

import { Component } from ‘@angular/core’;
import { NavController } from ‘ionic-angular’;
import { registerPage } from ‘…/register/register’;

selector: ‘page-home’,
templateUrl: ‘home.html’
export class HomePage {

constructor(public navCtrl: NavController) {



home.html button
<button ion-button block outline color=“light” (click)=“nextPage();”>
Log in

Are you sure it is registerPage and not RegisterPage and did you add it to your app.module.ts declaration and entryComponents arrays?