firebase.js:310:18: Error in firebase.init: ReferenceError: Can't find variable: FIRDatabase
See original GitHub issueJul 14 00:14:30 Mac ShoutOutPlay[84214]: <FIRAnalytics/INFO> Firebase Analytics v.3201000 started Jul 14 00:14:30 Mac ShoutOutPlay[84214]: <FIRAnalytics/INFO> To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/Y0Yjwu) Jul 14 00:14:30 Mac ShoutOutPlay[84214]: CONSOLE LOG file:///app/tns_modules/nativescript-plugin-firebase/firebase.js:310:18: Error in firebase.init: ReferenceError: Can’t find variable: FIRDatabase
Just added plugin tonight and seeing that error?
Using "nativescript-plugin-firebase": "^3.4.1",
Running in iPhone 6 Simulator with:
import firebase = require("nativescript-plugin-firebase");
firebase.init({
persist: false,
iOSEmulatorFlush: true
}).then((instance) => {
console.log("firebase.init done");
}, (error) => {
console.log("firebase.init error: " + error);
});
firebase.init error: ReferenceError: Can't find variable: FIRDatabase
/cc @jlooper
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
ReferenceError: Can't find variable: firebase . I can not ...
I am trying to create an App with a Database in which I will add several collections in Cloud Firestore. but ...
Read more >Firebase CLI reference
You establish a project directory using the firebase init command. A project directory is usually the same directory as your source control root,...
Read more >ReferenceError: Can't find variable Notification and how to ...
So I connected with USB and opened Safari console from iPhone. And saw this error message. ReferenceError: Can't find variable: Notification. Of course,...
Read more >ESP32 with Firebase – Creating a Web App
Getting Started with ESP32 with Firebase (Realtime Database). Here are the major steps to complete this tutorial. Creating Firebase Project—we recommend using ...
Read more >Using Firebase Emulator Suite and React for local-first ...
Inside the root of your react app directory, enable Firestore by running $ firebase init firestore --project $fbid , which will error out ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey Nathan, can you open the
Podfile
in the plugin’s folder and manually addpod 'Firebase/Database'
and rebuild to see if that makes a difference? I just changed a few bits to this file in 3.4.1 so that may have caused it.Thx @EddyVerbruggen! You never stop 😃