Skip to content

ReferenceError: firebase is not defined #520

@asadsahi

Description

@asadsahi

With a new cli based project, getting above error while trying to reference TIMESTAMP variable .

this trick hasn't helped.

I have tried importing firebase in main file: import 'firebase';

Also, tried importing firebase in angular-cli.json, get require not defined in FacebookAuthProvider.

Using Angular 2 final with latest version of angularfire2 (beta 5)

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