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
TypeError: Cannot read properties of null (reading 'style')
at applyCss (nprogress.js?5707:398:1)
at eval (nprogress.js?5707:412:1)
at eval (nprogress.js?5707:82:1)
at next (nprogress.js?5707:347:1)
at eval (nprogress.js?5707:353:1)
at NProgress.set (nprogress.js?5707:77:1)
at NProgress.done (nprogress.js?5707:152:1)
at eval (ProgressBar.tsx?8ff9:36:9)
at startTransition (react-dom.development.js?ac89:17332:1)
at routeChangeEnd (ProgressBar.tsx?8ff9:35:7)
at eval (mitt.js?851d:19:17)
at Array.map (<anonymous>)
at Object.emit (mitt.js?851d:18:39)
at eval (router.js?8684:799:39)
at Generator.next (<anonymous>)
at asyncGeneratorStep (_async_to_generator.js?0e30:23:1)
at _next (_async_to_generator.js?0e30:12:1)
nprogress.js?5707:397
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'style')
at applyCss (nprogress.js?5707:397:1)
at eval (nprogress.js?5707:408:1)
at NProgress.render (nprogress.js?5707:233:1)
at NProgress.set (nprogress.js?5707:70:1)
at NProgress.inc (nprogress.js?5707:170:1)
at NProgress.done (nprogress.js?5707:152:1)
at eval (ProgressBar.tsx?8ff9:34:9)
at startTransition (react-dom.development.js?ac89:17332:1)
at routeChangeEnd (ProgressBar.tsx?8ff9:33:7)
at eval (mitt.js?851d:19:17)
at Array.map (<anonymous>)
at Object.emit (mitt.js?851d:18:39)
at eval (router.js?8684:950:39)
at Generator.next (<anonymous>)
at asyncGeneratorStep (_async_to_generator.js?0e30:23:1)
at _next (_async_to_generator.js?0e30:12:1)
I am using nprogress in a ProgressBar component with jsx.
However, when I try to replace it with my own CSS module, it gives error
My component:
CSS file (
ProgressBar.module.css
)The error thrown:
Error occurs in this function:
The text was updated successfully, but these errors were encountered: