Skip to content

Crash with ng6 AOT compilation #1596

@Ploppy3

Description

@Ploppy3

Version info

Angular:
6
Firebase:
4.12.1
AngularFire:
5.0.0-rc.7
Other (e.g. Ionic/Cordova, Node, browser, operating system):

How to reproduce these conditions

Failing test unit, Plunkr, or JSFiddle demonstrating the problem

Steps to set up and reproduce
https://github.com/vincent-cm/angular-starter-test

Sample data and security rules

<-- include/attach/link to some json sample data (or provide credentials to a sanitized, test Firebase project) -->

Debug output

** Errors in the JavaScript console **

Uncaught (in promise): TypeError: Cannot read property 'OVERWRITE' of undefined
TypeError: Cannot read property 'OVERWRITE' of undefined

** Output from firebase.database().enableLogging(true); **

** Screenshots **

Expected behavior

Actual behavior

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