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)