0

I want to create a new react app. But during create-new-app ,the procedure does not reach happy hacking. It halts after installing node_modules.

After installing nodejs v12.4.0 and npm 6.9.0

I followed the steps:

npm -g create-react-app
create-react-app router


Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

core-js@2.6.9 postinstall C:\Users\Lenovo\rout\node_modules\babel-runtime\node_modules\core-js node scripts/postinstall || echo "ignore"

core-js@3.1.4 postinstall C:\Users\Lenovo\rout\node_modules\core-js node scripts/postinstall || echo "ignore"

+ react@16.9.0
+ react-dom@16.9.0
+ react-scripts@3.1.1
added 1444 packages from 685 contributors and audited 905233 packages in 107.212s
found 0 vulnerabilities

halted at this point.

Nompumelelo
  • 929
  • 3
  • 17
  • 28
AMU
  • 1
  • What do you mean halted? You don't get the prompt back? Typing "npm start" doesn't work after the install? – sigmus Sep 14 '19 at 09:11
  • No. Actually the boilerplate does not get created completely (only node modules and json files) . The command prompt does not show anything after the given snippet. It does not reach till Happy hacking – AMU Sep 15 '19 at 17:16
  • [***You absolutely should not be installing `react-scripts` globally.***](https://stackoverflow.com/a/75877180) – Henke Apr 06 '23 at 12:41

0 Answers0