Bug 52574 - Команда npx create-react-app не создаёт проект
Summary: Команда npx create-react-app не создаёт проект
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: node (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-27 16:56 MSK by Alexander Makeenkov
Modified: 2024-12-27 16:56 MSK (History)
1 user (show)

See Also:


Attachments
debug log (4.52 KB, text/x-log)
2024-12-27 16:56 MSK, Alexander Makeenkov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2024-12-27 16:56:14 MSK
Created attachment 17473 [details]
debug log

Версии пакетов:
node-22.12.0-alt1
npm-10.9.0-alt1

Шаги воспроизведения:
```
# apt-get install npm
$ npx create-react-app my-react-app
```

Получаемый результат:
```
Installing template dependencies using npm...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: my-react-app@0.1.0
npm error Found: react@19.0.0
npm error node_modules/react
npm error   react@"^19.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^18.0.0" from @testing-library/react@13.4.0
npm error node_modules/@testing-library/react
npm error   @testing-library/react@"^13.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
```

Полный debug лог во вложении.