I was trying to download the basic react-app template but I encountered some issues. In my "Command Prompt" (Terminal for windows) I did the following:
C:\Users\Danja>npm -v
6.14.8
Here's my node version:
node -v
v14.15.0
Then I installed react:
npm install -g create-react-app
C:\Users\AppData\Roaming\npm\create-react-app -> C:\Users\AppData\Roaming\npm\node_modules\create-
react-app\index.js
+ create-react-app@4.0.0
updated 1 package in 4.495s
As used in this post (Here) I used this command:
npx create-react-app ./
Originally, my whole download would get stuck on:
Installing react, react-dom, and react-scripts with cra-template...
But I cleared my cache, restarted my computer and redownloaded node.js...
When my app actually downloaded, it just ended with saying:
found 0 vulnerabilities
When it should've said :Happy Hacking
The default react-template is not being download on my desktop and it's just the node-modules that are. Does anyone have any fixes for this so that I could have the default template installed? Thanks.