Search code examples
next.jsnext.js13npx

"npx create-next-app@12 my-app" creates a nextjs project with "next" version 13, why is this?


When creating nextjs project with npx create-next-app@12 my-app I am expecting a nextjs project with a "next" version 12 should be created, however the nextjs project is instead created with the latest "next" version 13.

It is possible to manually change the version in the dependency list and the do npm install. I am wondering if it is how it is supposed to be.


Solution

  • You can check sashoalm's answer here. I think it'll be helpful if you follow the link to the github and continue reading there.