-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Version info
Angular: 1.7.0
Firebase: 5.0.2
AngularFire: 5.0.0-rc.8.0
Other (e.g. Ionic/Cordova, Node, browser, operating system):
Node: 9.10.0
How to reproduce these conditions
Failing test unit, Plunkr, or JSFiddle demonstrating the problem
Steps to set up and reproduce
Sample data and security rules
Debug output
Errors in the JavaScript console
TypeError: __WEBPACK_IMPORTED_MODULE_1_firebase_app__.app is not a function
Output from firebase.database().enableLogging(true);
Screenshots
Expected behavior
FireStore should be utilizable from a component.
Actual behavior
Error in console, also a few errors on ng build --prod:
WARNING in ./node_modules/angularfire2/firebase.app.module.js
23:15-27 "export 'app' (imported as 'firebase') was not found in 'firebase/app'
WARNING in ./node_modules/angularfire2/firebase.app.module.js
13:19-41 "export 'initializeApp' (imported as 'firebase') was not found in 'firebase/app'
Not sure if it's part of the problem, but I'm running Angular inside of Electron. There are no errors in any of my TypeScript files, no development compile errors - only the error in the console and a few errors (as mentioned before) in ng build --prod
Also, sorry for the full error in the title.. I'm not good with naming