0
I am making the construction of the side menu (side-menu) the first step of inserting the button and the first tab was quiet, but in the opening part of these tabs as for example "page one" or "page two" gives two types of alternating errors.
One is ";
expected", that is, point and comma being expected, except that in the code is already there the ;
but still the error appears the code in question is:
openPage(page) {
this.nav.setRoot(page.component);
}
The other error that commonly appears to me is that the method in the case openPage
is not
Finish and run the server again:
ionic server
– viana
Even restarting the process keeps the same error
– Darth Invader
So it’s because it’s really missing a dot and comma.
– viana
Possible duplicate of Type Script Ionic Error 2
– Jéf Bueno