Blank screen in new v2 app using sidemenu template


#1

When I create an app with the sidemenu template, the app.bundle.js and other files don’t get generated and the app shows a blank screen. This only happens with the sidemenu template.

I run the command

ionic start NewApp sidemenu --v2

Then I run ionic serve.

The result is a blank screen with 404 errors for the following files.

http://localhost:8100/build/js/Reflect.js
http://localhost:8100/build/js/app.bundle.js
http://localhost:8100/build/js/zone.js
http://localhost:8100/build/js/es6-shim.min.js
http://localhost:8100/build/js/Reflect.js
http://localhost:8100/build/js/zone.js
http://localhost:8100/build/js/app.bundle.js

This problem only occurs when using the sidemenu template. I am able to create and run an app using the default tab template.

Ionic info:
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 0.0.33
OS:
Node Version: v6.7.0


#2

I am also having the same problem:

Ionic info:
Cordova CLI: 6.3.1
Gulp version: CLI version 1.2.2
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 0.0.33
OS:
Node Version: v6.8.1


#3

I was able to copy and paste the relevant code snippets from the sidemenu starter project into my tabs project, run the app, and move forward with my project. But it would be nice to know what the issue is.


#4

I have the same problem with Ionic 2.0 RC1


#5

I start with sidemenu opt, then got the same problem.


#6

Hey all, sorry about this. We fixed the issue but you can patch your project by following my instructions here: Error when creating ionic 2 sidemenu template app

(Basically, we still had the old index.html file in the project which we now have centralized in our ionic2-app-base)