Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

Ionic application ERROR Error: Uncaught (in promise): ChunkLoadError: Loading chunk

$
0
0

Hello,

I have an Ionic TypeScript application which was working for a long time in browsers and devices.

ionic info:

Ionic:

   Ionic CLI                     : 6.13.1 (C:\Users\User\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework               : @ionic/angular 5.6.0
   @angular-devkit/build-angular : 0.1101.4
   @angular-devkit/schematics    : 11.1.4
   @angular/cli                  : 11.1.4
   @ionic/angular-toolkit        : 3.1.0

Cordova:

   Cordova CLI       : 10.0.0
   Cordova Platforms : android 9.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 7 other plugins)

Utility:

   cordova-res : 0.15.3
   native-run  : not installed

System:

   Android SDK Tools : 26.1.1 (C:\Users\User\Android-SDK)
   NodeJS            : v14.15.1 (C:\Program Files\nodejs\node.exe)
   npm               : 6.14.8
   OS                : Windows 10

Application works in browser, but .apk fails on Android device, even clear browsing data, application load shows blank screen on device and error.

chrome://inspect#devices log:

Uncaught SyntaxError: Unexpected token {

and:

ERROR Error: Uncaught (in promise): ChunkLoadError: Loading chunk
chat-chat-module failed.

(missing: http://localhost/chat-chat-module.js)

ChunkLoadError: Loading chunk chat-chat-module failed.

enter image description here

Any advice would be helpful

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>