Reputation: 1
I am trying to create-react-app but getting stuck again and again here only, I had already work around it, like I uninstalled the node.js and then again reinstalled that one, but only package.json and my-app folder got created. No src/or another folder as requiring got created.
terminal outcome-
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template...
[email protected] postinstall C:\Users\user\Desktop\Attainu\Sumit-malviya-au8\coding-challenges\week09\demo\node_modules\babel-runtime\node_modules\core-js node -e "try{require('./postinstall')}catch(e){}"
[email protected] postinstall C:\Users\user\Desktop\Attainu\Sumit-malviya-au8\coding-challenges\week09\demo\node_modules\core-js node -e "try{require('./postinstall')}catch(e){}"
[email protected] postinstall C:\Users\user\Desktop\Attainu\Sumit-malviya-au8\coding-challenges\week09\demo\node_modules\core-js-pure node -e "try{require('./postinstall')}catch(e){}"
59 packages are looking for funding
run npm fund
for details
found 1 low severity vulnerability
run npm audit fix
to fix them, or npm audit
for details
after running npm audit fix.
$ npm audit fix
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
Upvotes: 0
Views: 1046
Reputation: 577
I had a very similar issue, not sure why is happens but the cmd.exe keep getting suspended. Possible that your anit-virus software may also be stopping something.
Try:
The dependencies will then be installed.
Upvotes: 0