Runtime Error: Network Error

Hello,

I’m creating an iOS App using Ionic 3 and Angular 5. After I log into my app using the Ionic DevApp and upon viewing in my chrome browser, I receive the following error:

Runtime Error
Network Error

Stack
http://10.0.0.110:8100/build/vendor.js:136693:416
runTask@http://10.0.0.110:8100/build/polyfills.js:3:10844
invokeTask@http://10.0.0.110:8100/build/polyfills.js:3:16801
n@http://10.0.0.110:8100/build/polyfills.js:3:66

I can’t seem to find any information on this error. Has anyone received this error before?

Ionic Framework: 3.9.2
Ionic App Scripts: 3.1.5
Angular Core: 5.0.3
Angular Compiler CLI: 5.0.3
Node: 8.9.2
OS Platform: macOS High Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

2 Likes

I do and I am sick of this error. Like you said there is noting on google search that seems to make this go away and not much on this forum too except people saying they are getting this error

Well, I went in a couple days ago and updated alot of my npm plugins. I’m not getting the error anymore. If anyone wants to update you can type in the CLI “npm outdated”. This will provide a list of npm packages that need updating. Typing “npm update” after will update the packages. This seems to have cleared up my crashing problem.

I tried to update libs but still the same issue. What version of firebase are you using

firebase version 4.6.2

I’m also struggling with this. Is there a solution yet?

I think I’ve solved the problem :

  • update Firebase to the last one (5.2.0 for now)
  • check ALL your Firebase imports (in ALL your files) and replace with the correct ones :
import * as firebase from 'firebase/app'

instead of :

import * as firebase from 'firebase'

Please let me know if you can solve it too ! :wink: