Skip to content
New issue

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

Different next's versions between create-next-app@latest and starter example #787

Open
jonanrvz opened this issue Jul 3, 2024 · 7 comments

Comments

@jonanrvz
Copy link

jonanrvz commented Jul 3, 2024

When creating the app, next 14 is used, but the version of next used by the starter example is version 15 RC, replacing the initial configurations and making it difficult to understand the step-by-step tutorial

@zuher83
Copy link

zuher83 commented Jul 3, 2024

Yes, it's true, and I think it doesn't make sense to learn on an RC.

@leerob
Copy link
Member

leerob commented Jul 6, 2024

When you say "creating the app", what are you referring to? Are you starting from the start example?

@zuher83
Copy link

zuher83 commented Jul 6, 2024

Yes start with:
npx create-next-app@latest nextjs-dashboard --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example" --use-pnpm
it installs Nextjs version 15 with react version 19... For my part, I've modified the json package and put back the packages for version 14 and react 18, and removed the node_modules folder and .next folder to make the tutorial! It works for me, but I'm not sure some people do that!

@leerob
Copy link
Member

leerob commented Jul 6, 2024

It is intentional it starts with v15 and React v19. The RC here will soon be stable, so we're starting out teaching this way for beginners 😄

https://nextjs.org/15-rc

@zuher83
Copy link

zuher83 commented Jul 6, 2024

@leerob Yes I understand, it's the first time I'm using NextJS but I'm an old developer 😅 and when launching the project I had a lot of errors 😮 with the RC version. I like stability 😉but with a few manipulations, I was able to get NextJS 14 working and learn the fundamentals in a few hours! Thanks for the job this is great to understand and get started 👌

@leerob
Copy link
Member

leerob commented Jul 6, 2024

Could you share the errors you were seeing? Would love to take a look.

@zuher83
Copy link

zuher83 commented Jul 7, 2024

I can't remember the errors, but when I can I'll try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants