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.

Uncaught promise error in 1.1.0

See original GitHub issue


Firstly, I want to thank you for your library, it adds a nice touch to our application. As I am a developer, it’s sometime nice when we know how our creation is used, so I’ve attached a partial screenshot to show to you our use case.

Secondly, I encouters a little issue since I’ve upgrade progressbar.js from 1.0.1 to 1.1.0. In my browser console, there is sometime one or multiple uncaught promise errors:

Uncaught (in promise) {offset: 289.0670000019968}
Promise.then (async)		
animate	@	progressbar.js:1183
animate	@	progressbar.js:1406

It does’nt seem to affect the UI. Unfortunatly, I have not been able to find exactly why it occurs.

By by looking into the diffs from 1.0.1 to 1.1.0, I have been able to find that the error may be caused since the upgrade of the shifty dependency from the Pull Request #196 (commit).

By adding an empty catch function to R118-R121, the promise error is handled and it seem to not affect the UI. But, I’m not sure that it is the right way to fix this problem…

.catch(function(state) {})

I hope it helps you, thank you very much!


Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:15
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

dmarmancommented, Mar 21, 2020

Thanks for the fix. Here the command for installing from the commit:

npm install --save "git://

jeremyckahncommented, May 13, 2020

FYI, I have incorporated @wparad’s jeremyckahn/shifty#115 fix into the latest v.2.9.0 release.

Thank you @wparad!

Read more comments on GitHub >

github_iconTop Results From Across the Web

how do i get rid of axios error uncaught (in promise)?
I am facing the error that uncaught(in promise) in console, its axios related error, I here pasted the code userSearch.jsx file code, ...
Read more >
Uncaught (in promise) Error on PHP 8.0.20 -
While trying to dismiss the dialogue that reads: Security auto-update of WooCommerce Your store has been updated to the latest secure ...
Read more >
express-async-errors - npm search
Simple wrapper for Express route handlers, which propagates errors to the centralized error handler. express · async-await · promise · try-catch · error...
Read more >
Resolving the JavaScript Promise Error "TypeError: Cannot ...
Whenever you see this TypeError while working with JavaScript Promise, the first step is to inspect the code that was expected to return...
Read more >
Error while loading loading map. - Esri Community
Widget] widget-intl:locale-error esri.widgets. ... id: 'gray-vector') TypeError: t is not a constructor Zoom.js:5 Uncaught (in promise) ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found