@evandar wrote:
Hello,
after last update of my Ionic app libraries I have seen blank white page in emulator and error in console: ReferenceError: Can't find variable: webpackJsonp
I had no idea what could be causing this. After pointless googling I tried to create a new Ionic project. Apparently from version 2.0 file /src/index.html have been changed! Body now should look like this - new is file build/vendor.js
<body> <!-- Ionic's root component and where the app will load --> <ion-app></ion-app> <!-- The polyfills js is generated during the build process --> <script src="build/polyfills.js"></script> <!-- The vendor js is generated during the build process It contains all of the dependencies in node_modules --> <script src="build/vendor.js"></script> <!-- The main bundle js is generated during the build process --> <script src="build/main.js"></script> </body>This solved my problem. It would be nice to have some warning if build/vendor.js is not included ...
PS: currently Ionic is not working with typescript version 2.4.1 - so don`t waste time with updating ... It have some new code checks which will find errors in Ionic core libraries and build fails.
Posts: 2
Participants: 2