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
But this causes a strange error when running next build:
Generating static pages (0/18) [ ]ReferenceError: window is not defined
...
Error occurred prerendering page "/chart". Read more: https://nextjs.org/docs/messages/prerender-error
ReferenceError: window is not defined
...
Error occurred prerendering page "/".
How can I fix that? I don't want to artifically delay page rendering and setting the loader timeout to a few milliseconds causes an ugly flickering effect.
The text was updated successfully, but these errors were encountered:
On root page, there is a loading spinner included, which is removed automatically after 1s. I tried removing this spinner completely:
src/app/layout.tsx
But this causes a strange error when running
next build
:How can I fix that? I don't want to artifically delay page rendering and setting the loader timeout to a few milliseconds causes an ugly flickering effect.
The text was updated successfully, but these errors were encountered: