Closed
Description
Description
I've been facing issues when creating a new React app using the npx create-react-app
command for the past 1 1.5 months. Despite trying multiple solutions, the problem persists, making it impossible to set up a new React project.
Steps to Reproduce
- Run the command:
npx create-react-app my-app
. - Attempted the following flags to bypass errors:
--force
--legacy-peer-deps
- Tried on different systems and environments:
- Operating Systems: Windows 10/11, macOS
- Networks: Airtel and BSNL ISPs
- Tested on various Node.js versions (all managed with NVM):
- 16.x (LTS)
- 18.x (LTS)
- 20.x (LTS)
- 22.x (LTS)
Expected Behavior
After running the npx create-react-app
command, a new React app should be successfully created.
Actual Behavior
The command fails to complete successfully. I've attached screenshots of the errors encountered below for you to look over.
Attempts to Fix
- Used
--force
and--legacy-peer-deps
flags. - Tried different versions of Node.js.
- Tested on different operating systems and networks.
Environment
- OS: Windows 10/11, macOS
- Node.js: 16, 18, 20, and 22 (LTS versions)
- NPM: Latest version (installed with Node.js)
- React: The
npx create-react-app
version is the default fetched by NPM.
Attachments
(Screenshots of the error messages)








Additional Information
This issue has persisted across multiple environments and configurations for over a month. Please let me know if further details or debugging information are needed to assist in resolving this issue.