Ionic + angularfire + firebase "Duplicate identifier" errors

I had several problems with this too.

Deleting works

BUT
Remove this line if you are using it, however incredible that seems to solve.

Import {firebase} from 'firebase'

  • Resolved for me too. It solves everything with the import of AngularFire only