question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Cannot read property 'firebase' of undefined

See original GitHub issue

I’m using this plugin in my new Nativescript project & getting following error -

JS: Clicked on Login button JS: Error in firebase.init: TypeError: Cannot read property 'firebase' of undefined JS: firebase.init error: TypeError: Cannot read property 'firebase' of undefined

Here is the link of my Stackoverflow post : http://stackoverflow.com/questions/37565864/typeerror-cannot-read-property-firebase-of-undefined-in-nativescript-app

As, totally new to both NativeScript & TypeScript I can’t able to understand how to solve it.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:25

github_iconTop GitHub Comments

1reaction
mi6crazyheartcommented, Jun 2, 2016

YES. I’ve setup that also. But, does that can be the reason for the error - " Cannot read property ‘firebase’ of undefined" ? I don’t feel so. I can also be wrong.

1reaction
mi6crazyheartcommented, Jun 2, 2016

I’m using tns livesync android --watch . So, just after saving the file when compiler start compiling once again… I’m getting that error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'apps' of undefined firebase - Stack ...
I try lots of ways but I can't solve this. I am using firebase 9.0.1. Server Error TypeError: Cannot read property 'apps' of...
Read more >
cannot read properties of undefined (reading 'apps') firebase
Firebase Modular SDK V9.0.0+ TypeError: Cannot read property 'apps' of undefined firebase (2 answers) ... Cannot read properties of undefined (reading ...
Read more >
install firebase through git, build it, require it: TypeError
With the own build version I get this error: TypeError: Cannot read property 'navigator' of undefined. 伴ルカ's profile photo ...
Read more >
TypeError: Cannot read property 'exists' of undefined at Object ...
I'm trying to use Algolia with Firebase Functions, but I get this error TypeError: Cannot read property 'exists' of undefined at Object.
Read more >
Cannot read property 'app' of undefined' In Flutter Web | Medium
How To Fix 'TypeError: Cannot read property 'app' of undefined' In Flutter Web ... So the data ( apiKey , authDomain , etc)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found