Ionic run time error

Hi,
I am getting below errors while running my ionic app using command ‘ionic lab’ and app is showing blank page (no content). I am new to ionic. Could anyone please help?

This is shown while I am opening console in developer option.

polyfills.js:3 Unhandled Promise rejection: No ErrorHandler. Is platform module (BrowserModule) included? ; Zone: ; Task: Promise.then ; Value: Error: No ErrorHandler. Is platform module (BrowserModule) included?
at core.es5.js:4754
at t.invoke (polyfills.js:3)
at Object.onInvoke (core.es5.js:4128)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at NgZone.run (core.es5.js:3996)
at PlatformRef_.bootstrapModuleFactoryWithZone (core.es5.js:4749)
at core.es5.js:4790
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3) Error: No ErrorHandler. Is platform module (BrowserModule) included?
at http://localhost:8100/build/main.js:5032:23
at t.invoke (http://localhost:8100/build/polyfills.js:3:8971)
at Object.onInvoke (http://localhost:8100/build/main.js:4406:37)
at t.invoke (http://localhost:8100/build/polyfills.js:3:8911)
at r.run (http://localhost:8100/build/polyfills.js:3:4140)
at NgZone.run (http://localhost:8100/build/main.js:4274:62)
at PlatformRef
.bootstrapModuleFactoryWithZone (http://localhost:8100/build/main.js:5027:23)
at http://localhost:8100/build/main.js:5068:59
at t.invoke (http://localhost:8100/build/polyfills.js:3:8971)
at r.run (http://localhost:8100/build/polyfills.js:3:4140)
n.onUnhandledError @ polyfills.js:3
polyfills.js:3 Error: Uncaught (in promise): Error: No ErrorHandler. Is platform module (BrowserModule) included?
Error: No ErrorHandler. Is platform module (BrowserModule) included?
at core.es5.js:4754
at t.invoke (polyfills.js:3)
at Object.onInvoke (core.es5.js:4128)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at NgZone.run (core.es5.js:3996)
at PlatformRef
.bootstrapModuleFactoryWithZone (core.es5.js:4749)
at core.es5.js:4790
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at core.es5.js:4754
at t.invoke (polyfills.js:3)
at Object.onInvoke (core.es5.js:4128)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at NgZone.run (core.es5.js:3996)
at PlatformRef
._bootstrapModuleFactoryWithZone (core.es5.js:4749)
at core.es5.js:4790
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at c (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at o (polyfills.js:3)
at
n.onUnhandledError @ polyfills.js:3

Thanks,
Shree

Is it?

How did you create your app?

Hi Sujan,
I have to learn ionic development with angularjs. I have followed an online tutorial. As suggested by the author I have downloaded template app using command ‘ionic start githubIonic tutorial --v2’. Replaced the pages with custom pages and made changes in typescript files. I have shared my solution here.

https://drive.google.com/open?id=0B37YRSoI0rdZQU9zaE5IUGpEaUk

I am just a beginner. Kindly ignore any mistakes.

Thanks for your help!

Cheers,
Shree

If you have to learn with AngularJS, you shouldn’t create an Ionic 2+ project (which uses Angular, not ANgularJS) but an Ionic v1 project.

The command you got from the command and is outdated. If you want to create a 2+ project you don’t need any param at all, for Ionic v1 it is --type=ionic1.