I had this issue, i solved restarting the ionic server.
Hi there - How did you resolve this issue? I am facing this error when trying to open a tabbed page from blank page.
It was a problem with that version. I just went back a version. But how it works fine though
thanks @mhartington . solution given by you has worked for me.
i got same error for lazy loaded module’s component. In that case i cant put in entry components.
What is the work around for that?
This topic is for RC0 of Ionic 2 - so in no way related to lazy loading. Please create a new topic and describe your problem and environment instead of hijacking this ancient topic. Thank you.
I just had the same problem , i solved it with just removing @IonicPage decorator.
import { Component } from '@angular/core';
import { IonicPage, NavController } from 'ionic-angular';
@IonicPage() // remove this
@Component({
selector: 'page-list',
templateUrl: 'list.html',
})
everyone should check this out.
http://blog.ionic.io/ionic-and-lazy-loading-pt-1/
the important thing is to add ''
we should give string when using lazy loading.