Open prtpj1 opened 7 months ago
I believe the error you're encountering stems from using next@14, which introduces some breaking changes compared to next@12. The guide you're following is written for version next@12. You might want to consider downgrading to a lower version of next for compatibility.
I believe the error you're encountering stems from using next@14, which introduces some breaking changes compared to next@12. The guide you're following is written for version next@12. You might want to consider downgrading to a lower version of next for compatibility.
Hi Larry
Thx for reply. I thought about downgrade, but as its a nextjs official tutorial I was hoping I could finish it even on a version superior to next12
So is it impossible or too much complicated?
And since there were breaking changes, the structure changes between 12 and 13...is it possible to do the downgrade from 14 to 12 without break everything? Or I need to restart the tutorial using next12??
Hi Paulo,
You can take a look at the upgrade guide for nextjs first, and then decide whether to continue in the next@14.
I think you can downgrade to version 12 first and then consider upgrading after completing the tutorial. If you haven't been learn next before, it will be difficult to handle version compatibility issues while studying the tutorial.
I hope these can help you https://nextjs.org/docs/pages/building-your-application/upgrading
Hi Paulo,
You can take a look at the upgrade guide for nextjs first, and then decide whether to continue in the next@14.
I think you can downgrade to version 12 first and then consider upgrading after completing the tutorial. If you haven't been learn next before, it will be difficult to handle version compatibility issues while studying the tutorial.
I hope these can help you https://nextjs.org/docs/pages/building-your-application/upgrading
I will think what path I will get. I'm learning next and this was my second tutorial :D
Thx for the help...
Hi, I'm really trying to finish this tutorial, but there are a few issues in it.
I though I would finish it, I was near, the final steps, THE DEPLOY, BUT I was wrong.
After try the deploy following tutorial instructions I tried build locally.
And I got this error:
I did a few searchs and I tried: rm -rf node_modules npm install npm install prisma@latest
I found this topics about it: https://github.com/prisma/prisma/discussions/22374 https://github.com/prisma/prisma/discussions/21861
Then I tried and updated typescript to 5.2.2, but nothing worked.![Screenshot_347](https://github.com/prisma/blogr-nextjs-prisma/assets/91347088/69a63615-ab26-4590-9e76-77c79f4e31cd)
There are other ways to try fix this issue?