Creating a new react app with create-react-app results in Error: Cannot find module 'has-flag' #6097
Closed
2 tasks done
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 9.x
work is associated with a specific npm 9 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I am trying to create a new react app. In an empty folder I run
npx create-react-app my-app
Which results in the following error:
Expected Behavior
No response
Steps To Reproduce
npm: 9.4.0 Node.js: v18.13.0 in an empty folder run
npx create-react-app my-app
Environment
The text was updated successfully, but these errors were encountered: