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.

[BUG] Reference Error with version 4.2.0

See original GitHub issue

Updated to the new TypeScript version of the plugin (nice work on your part for doing that!) and now get the following error when loading up my app:

JS ERROR ReferenceError: Can't find variable: FIRInviteDelegate

I’m guessing this error goes along with the invites feature of the plugin. I currently don’t use invites in my app, so I don’t believe it’s an error with my code.

When I commented out the line of code with FIRInviteDelegate in the plugin, I then got the following error:

JS ERROR ReferenceError: Can't find variable: GADInterstitialDelegate

I’m guessing if I were to comment that out, the next error would be:

JS ERROR ReferenceError: Can't find variable: GIDSignInDelegate

Hopefully this is enough information for you to track this down.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
EddyVerbruggencommented, Oct 24, 2017

Yeah you shouldn’t need those typings files in the first place.

The rootcause is I used to check for stuff like GADInterstitialDelegate before using them. Since the demo app includes all features (and thus libraries like Invites, from Cocoapods) there’s no problem in my case.

I’ll re-add those checks the TS-way and publish a new version.

1reaction
EddyVerbruggencommented, Oct 24, 2017

Thank you! I guess I have those files referenced like this in the demo app, but I fully agree you should not need to do that in your own app - please copy that references.d.ts file as a quick workaround and I’ll fix this in 4.2.1 as soon as possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

rJava::.jinit() terminates R session of RStudio when using R ...
This happens with R 4.2.0, but not with previous R versions. In plain R or when sourcing the command as local job in...
Read more >
`rgl` crashes R 4.2.0 in RStudio - Stack Overflow
This is a bug in the startup code that was introduced in 0.100.50 and fixed in release 0.108.3.2. If you're using a version...
Read more >
27657 – [4.2 regression] bogus undefined reference error to static ...
Version : 4.2.0 ... I get an "undefined reference" error when linking two files but that variable ... Bug 27950 has been marked...
Read more >
NEWS for R version 4.2.2 Patched (2022-12-14 r83470)
The legacy S-compatibility macros PROBLEM, MESSAGE, ERROR, WARN, WARNING,. RECOVER, ...are deprecated and will be hidden in R 4.2.0. R's native interface of....
Read more >
Microsoft Teams PowerShell Release Notes
Learn about the latest changes in Teams PowerShell.
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