Error: No Firebase App '[DEFAULT]' has been created
问题 I'm using Ionic2 and when I go to localhost:8100 (after doing ionic serve ) I receive the error you can see in the following image. app.component.ts looks like this: import firebase from 'firebase'; import { Component } from '@angular/core'; import { Platform } from 'ionic-angular'; import { StatusBar } from 'ionic-native'; import { HomePage } from '../pages/home/home'; @Component({ template: `<ion-nav [root]="rootPage"></ion-nav>` }) export class MyApp { rootPage = HomePage; constructor