We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I run the yarn run build command, I get this error. Error occurred prerendering page "/".
The text was updated successfully, but these errors were encountered:
@Muhammadyunusxon in your page.tsx, change import style to Grid component. from this: import Hero from "@/components/Hero";
import Hero from "@/components/Hero";
to this: const Grid = dynamic(() => import("../components/Grid"), { ssr: false, });
const Grid = dynamic(() => import("../components/Grid"), { ssr: false, });
and add "use client"; on top of page.tsx file.
"use client";
These steps resolved my errors and deployed pages successfully.
Sorry, something went wrong.
No branches or pull requests
If I run the yarn run build command, I get this error. Error occurred prerendering page "/".
The text was updated successfully, but these errors were encountered: