Blazity / next-saas-starter

⚡️ Free Next.js responsive landing page template for SaaS products made using JAMStack architecture.
https://next-saas-starter-ashy.vercel.app/
MIT License
1.35k stars 324 forks source link

Error: Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>. #255

Open shahzain-lab opened 10 months ago

shahzain-lab commented 10 months ago

First, I was getting error @types/react are not installed, I resolved this by upgrading nextjs and react versions. then, I was able to run my local server.

Now, I am getting this error on root page and pages cannot load. It would be great if I get the details to fix this issue. Thanks

bunnypp commented 7 months ago

Every time you see add legacyBehavior: e.g. <NextLink href="#" passHref legacyBehavior>