public ,src, script directory is not creating while installing create-react-app
on run command npx create-react-app my-app not creating public, src and script folder, only node-modules, package.json and yarn.lock file is coming
OS: windows10 node: V12.14.0 npm/npx : 6.13.4
C:\Users\vivek_Vishu\Desktop\project>npx create-react-app my-app
Creating a new React app in C:\Users\vivek_Vishu\Desktop\project\my-app.
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template...
yarn add v1.22.0 [1/4] Resolving packages... [2/4] Fetching packages... info [email protected]: The platform "win32" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. info [email protected]: The platform "win32" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning "react-scripts > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta". [4/4] Building fresh packages... success Saved lockfile. success Saved 13 new dependencies. info Direct dependencies ├─ [email protected] ├─ [email protected] ├─ [email protected] └─ [email protected] info All dependencies ├─ @babel/[email protected] ├─ @babel/[email protected] ├─ @babel/[email protected] ├─ @babel/[email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] └─ [email protected] Done in 223.41s.
having same problem
i'm having the same problem.Has anyone resolved it yet?
@ikanip11 @mohit-xi seems like there's something wrong with the installation of create-react-app using npx, I tried with yarn and everything went well
yarn create react-app my-personal-page --typescript
I'm still facing the same problem it did nothing for me I've even done a fresh installation of node but still the problem is there
@ikanip11 tried with yarn also getting same issue.
same issue
Try
npm install create-react-app
installing it before may solve your problem and you can directly call create-react-app to create the app
This also dosent work for me
i'm having the same problem.Has anyone resolved it yet?
I reset my computer and it solved the issue for me.Good for me that I didn't have important stuff on my computer.
Hi all, this is very strange - sorry you're hitting this issue.
Can you please ensure that you don't have a global install of create-react-app? Also try clearing your npm/Yarn cache?
same issue.
"yarn create react-app my-app"
I use git bash on windows and it doesn't work.
But using Ubuntu on Windows, it run
I uninstalled 64-bit version of node and installed the 32-bit version and it worked.
same issue.
"yarn create react-app my-app"
using OS, it run
#Ensure Node.js and npm installed properly use npx to create react app Check for Errors During Installation
I'm still facing the same problem it did nothing for me I've even done a fresh installation of node but still the problem is there
Ensure Node.js and npm Are Installed Properly Use npx to Create React App