question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After executing npx create-react-app my-app it doesn't create the directory structure

See original GitHub issue

After executing npx create-react-app my-app it doesn’t create the directory and file structure. I only have this:

  • node_modules
  • package.json

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
Steve-Reidcommented, Dec 10, 2019

@ashishtechuz Have you tried the solution here: #8097

0reactions
heyimalexcommented, Dec 20, 2019

@dschlossman So npx will run without installing because either 1. the binary is installed globally and accessible in the path or 2. the binary is available in some node_modules at or above your current working directory. Calling which create-react-app (or whatever the windows equivalent is) will tell you whether its installed globally, and if it’s not you need to find where it is above your path and remove it there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

reactjs - public, src,and scripts folder not created while using ...
So I went to the node modules directory (for Mac /usr/local/lib/node_modules ) and delete create-react-app directory and reinstall create-react- ...
Read more >
ReactJS Tutorial: setup React project using create-react-app
In this video, we will learn to setup our first react app using CRA ... project using create - react - app |...
Read more >
Getting Started - Create React App
Create React App is an officially supported way to create single-page React.
Read more >
Create a New React App
When you're ready to deploy to production, running npm run build will create an optimized build of your app in the build folder....
Read more >
Create React App: A Complete guide for Beginners - QuikieApps
This command will create a react Project in the directory. 'my-app' is the name of the project or file. This creates a folder...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found