New create project show blank screen while running in browser


#1

I execute the command below in Windows 10, but the browser is showing white screen/blank page.
May I know how to solve this issue?

ionic start testapps sidemenu --v2
cd testapps
ionic serve

in app.js the root is refer to the GettingStartedPage, and getting-started.html is not empty.

app.js

import {GettingStartedPage} from ‘./pages/getting-started/getting-started’;
this.rootPage = GettingStartedPage;

getting-started.html

<ion-navbar *navbar>
  <button menuToggle>
    <ion-icon name="menu"></ion-icon>
  </button>
  <ion-title>Start Now</ion-title>
</ion-navbar>
<ion-content padding class="getting-started">
  <h3>Show Time</h3>
  <p>
     Start now!
  </p>
  <p>
    <button primary menuToggle>Toggle Menu</button>
  </p>
</ion-content>

#2

Hi there!
Could you check your browsers console and see if there are any errors?
I just tried this exact command on windows and everything seems to be working fine.


#3

Hi mhartington,

Thanks for the reply. I found my ionic version is not updated, so I just install the latest ionic version/