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.

Missing getInstance in 5.4.2

See original GitHub issue

When we upgraded from 5.2.2 to 5.4.2, we encountered this error: Uncaught TypeError: s.getInstance is not a function.

Reverting our upgrade to 5.2.2 fixed the error for our code. Furthermore, would it be possible to include type definitions in the library? We were relying on this version: https://github.com/DefinitelyTyped/DefinitelyTyped/commit/7befb82fde4e83ad218a704495437bc66f9057ef but it appears to be missing the breaking interface changes.

This also tells us to call getInstance: https://help.amplitude.com/hc/en-us/articles/115002889587#amplitudeclient

Can you please help us so that we may adopt 5.4.2? Thanks!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
shannontan-boltcommented, Oct 10, 2019

Our team decided to move our use case to another analytics tool that we had in place - I’ll still leave this here in case others run into this issue too, and perhaps they can comment if 5.4.3 will work for them.

Thanks for your response. My recommendation would be to include TS definitions in the package since there seems to be decent adoption of TS at this point.

1reaction
shannontan-boltcommented, Oct 7, 2019

Just kidding - I incorrectly tested this, this is still a problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release iText 5.4.2 - iText Knowledge Base
New Java PDF library release of version 5.4.2. The C# and the Android port will follow soon. ... iText 5 has been EOL,...
Read more >
Eclipse JGit™: Java implementation of Git 5.4.2
Eclipse JGit™: Java implementation of Git 5.4.2 ... only microsecond resolution, there is no fix yet hence we filed a new bug JDK-8231174....
Read more >
Hibernate ORM 5.4.33.Final User Guide - Red Hat on GitHub
Since there was no explicit type mapping, Hibernate looks to the BasicTypeRegistry to find the registered mapping for java.lang. ... getInstance( Locale.
Read more >
AppsFlyer Android SDK release notes – Help Center
2021-11-14, Fixed a bug introduced in V6.4.2 with LinkGenerator causing the creation of links with missing URL parameters. 6.4.2. 2021-10-24.
Read more >
Spring Security Reference
The following error occurs when one of the passwords that are stored has no id as described in Password Storage Format. java.lang.IllegalArgumentException: ...
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