Skip to content

Can't use angular AOT because of angularfire typescript error #1424

@Joebob12

Description

@Joebob12

Version info

Angular: 5.0.3

Firebase: 4.8.0

AngularFire: 5.0.0-rc.4

Other (e.g. Ionic/Cordova, Node, browser, operating system):

Ionic Framework 3.9.2
Node v8.9.3

How to reproduce these conditions

Debug output

Steps to set up and reproduce

Generate an ionic project with angularfire & firebase then run ionic cordova build <ios/android> -- prod

I get the following error from AOT compilation:

`typescript error expected 0 arguments but got 2
angularfire.firesotre.index.d.ts ([object Object], ?).

Error: The Angular AoT build failed. See the issues above`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions