masanao@FR000277:~$ npx create-next-app my-app --use-npm --example "https://github.com/vercel/next.js/tree/deprecated-main/examples/with-redux-toolkit-typescript"
Creating a new Next.js app in /home/masanao/my-app.

Downloading files from repo https://github.com/vercel/next.js/tree/deprecated-main/examples/with-redux-toolkit-typescript. This might take a moment.

Installing packages. This might take a couple of minutes.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: with-redux-toolkit-typescript@1.0.0
npm ERR! Found: react@17.0.2
npm ERR! node\_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.2.0" from next@13.2.4
npm ERR! node\_modules/next
npm ERR! next@"latest" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/masanao/.npm/\_logs/2023-03-23T05\_10\_45\_935Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR! /home/masanao/.npm/\_logs/2023-03-23T05\_10\_45\_935Z-debug-0.log

Aborting installation.
 npm install has failed.

npm notice
npm notice New minor version of npm available! 9.5.0 -> 9.6.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.2
npm notice Run npm install -g npm@9.6.2 to update!
npm notice
user