You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens when you start a NProgress with a custom selector for Settings.parent and you change page (this happens to me with angular).
Nprogress will remove the progress bar after a certain timeout (based on speed) and this means that if you change the page and selector does not exists anymore, nprogress.remove() will be fired anyway, resulting in the above error.
Activity
frankie-loves-jesus commentedon Jan 5, 2015
Please set up a reduced testcase:
http://css-tricks.com/reduced-test-cases/
You're most likely just missing your NProgress container.
martinratinaud commentedon Sep 10, 2015
This happens when you start a NProgress with a custom selector for Settings.parent and you change page (this happens to me with angular).
Nprogress will remove the progress bar after a certain timeout (based on
speed) and this means that if you change the page and selector does not exists anymore, nprogress.remove() will be fired anyway, resulting in the above error.I made a PR for that #129
Cheers
xtrasimplicity commentedon Nov 10, 2015
I can confirm that Martinratinaud's commit has changed the problem (at least, for me). :)
dukhevych commentedon Jun 14, 2019
OMG 4 years? Really?
danielbarion commentedon Aug 12, 2020
This issue is already solved into the master javascript file, but not released until now.
juanpablocs commentedon Aug 15, 2020
any notice? :/
patjagielski commentedon Oct 4, 2021
When will this change be implemented and the package be updated?
kostia7alania commentedon Oct 26, 2022
++
kostia7alania commentedon Oct 26, 2022
7 years ....
danielbarion commentedon Oct 26, 2022
For people that use React.js / Next.js:
https://www.npmjs.com/package/@tanem/react-nprogress
Dimchykus commentedon Feb 28, 2023
8 years ....
arlanschouwstra commentedon Jan 12, 2024
9 years?