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
In nextjs, you need to dynamically import the component to ensure that the component is not loaded on the server side, bexause nextjs, first runs the code on server side at the first time even after using the 'use client' directive.
The solution is to use dynamic import like this:
import dynamic from "next/dynamic";
ReferenceError: self is not defined
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Throws error in next js
The text was updated successfully, but these errors were encountered: