Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to install next-js with react 17?

How I can install next.js with React 17? When I type:
npx create-next-app –ts, npx installed Next with React 18, but I can’t use React 18, because Stripe not working at the moment with R18 (https://www.npmjs.com/package/stripe).

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

You’d need to use an older version of Next JS.

The latest one I can see with React 17 is 12.1.2, so you can start your project with the following:

npx create-next-app@12.1.2

You can check the release change logs for Next JS here:
https://github.com/vercel/next.js/releases

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading