"react": "next", "react-dom": "next", code example Example: make nextjs project npx create-next-app # or yarn create next-app