These are chat archives for angular/angular-2-ionic-2
[16:48:56] TypeError: Cannot read property 'text' of undefined [16:48:56] ngc failed [16:48:56] ionic-app-script task: "build" [16:48:56] Error: Error
$ ionic run android --device --stacktrace Running 'run:before' npm script before run > ionic-hello-world@ build /home/unknown/git/app > ionic-app-scripts build [16:58:13] ionic-app-scripts 0.0.36 [16:58:13] build prod started ... [16:58:13] clean started ... [16:58:13] clean finished in 3 ms [16:58:13] copy started ... [16:58:13] ngc started ... [16:58:13] copy finished in 65 ms [16:58:13] lint started ... [16:58:15] lint finished in 1.85 s [16:58:22] TypeError: Cannot read property 'text' of undefined [16:58:22] ngc failed [16:58:22] ionic-app-script task: "build" [16:58:22] Error: Error npm ERR! Linux 4.4.0-59-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build" npm ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! code ELIFECYCLE npm ERR! ionic-hello-world@ build: `ionic-app-scripts build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ionic-hello-world@ build script 'ionic-app-scripts build'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the ionic-hello-world package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! ionic-app-scripts build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs ionic-hello-world npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls ionic-hello-world npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/unknown/git/app/npm-debug.log
Sorry for stepping in right after your question @badpenguin , back to your question:
Is there a way to debug angular2 bootstrap? I've 10-12 seconds of loading time with an Asus Zenfone Android and that the time between index.html get loaded and the App constructor got called (8.5sec) plus 1.5 sec to fire the ready promises from Platform.