Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

create-react-app only creates package.json file

I am trying to create react app using command create-react-app test. This command only creates a project directory with package.json file.File containing...

{
  "name": "test",
  "version": "0.1.0",
  "private": true
}

Node version 11.11.0 & NPM version 6.7.0 with cmd Same issue with widnows CMD

with bash CLI it is also creating error with bash CLI it is also creating error

like image 763
Muhammad Muzamil Avatar asked Oct 31 '25 22:10

Muhammad Muzamil


1 Answers

Give this a try:

  • npm install -g create-react-app
  • create-react-app my-app
like image 104
BinaryBeast Avatar answered Nov 02 '25 12:11

BinaryBeast



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!