public and src folder not created while installing react
See original GitHub issuenpx 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:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ashishtechuz Have you tried this #8097
Here https://github.com/facebook/create-react-app/issues/8088