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.

public and src folder not created while installing react

See original GitHub issue

npx version:6.9.0 node version:10.16.3 npm :6.9.0

I installed project using npx create-react-app app_name

but both src and public directories are not present in the code. package.json is not properly set.

package.json :

{
  "name": "demos",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "react": "^16.12.0",
    "react-dom": "^16.12.0",
    "react-scripts": "3.3.0"
  }
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
Steve-Reidcommented, Dec 10, 2019

@ashishtechuz Have you tried this #8097

Read more comments on GitHub >

github_iconTop Results From Across the Web

reactjs - public, src,and scripts folder not created while using ...
15 Answers 15 · Open Task Manager and check if the Windows Command Processor process is set to Suspended. · If it is...
Read more >
public, src,and scripts folder not created while installing react ...
A template was not provided. This is likely because you're using an outdated version of create-react-app. Please note that global installs of ...
Read more >
How to solve create-react-app not creating an src folder
How to solve create-react-app not creating an src folder · First, uninstall the global version of create-react-app. · Run the following command to ......
Read more >
public, src and scripts folder not created with create-react-app
While creating a new ReactJS App on my Windows 10 machine, I faced the issue as described in the title even though I...
Read more >
Fixes for create-react-app not creating all the files
There are several reasons that lead to this trouble, one of the most common is changing the node version. Get the files and...
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