0
votes

While running this command "create-react-app myapp" get stuck as shown in the below screenshot: It's got created 3files as below in this directory "D:\usr\local\myapp"

1) node_modules - folder

2) package.json

3) package-lock.json


D:\usr\local>create-react-app myapp

Creating a new React app in D:\usr\local\myapp.

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

[email protected] postinstall D:\usr\local\myapp\node_modules\babel-runtime\node_ modules\core-js node -e "try{require('./postinstall')}catch(e){}"

[email protected] postinstall D:\usr\local\myapp\node_modules\core-js node -e "try{require('./postinstall')}catch(e){}"

[email protected] postinstall D:\usr\local\myapp\node_modules\core-js-pure node -e "try{require('./postinstall')}catch(e){}"

58 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


OR below screenshot: Error screenshot from cmd

1
Hello, Take a look at this answer. - Ajin Kabeer

1 Answers

0
votes

first do npm install then run npm audit fix to fix it, then run your create-react-app myapp to create a react app. feel free to take a look at this.

Previous stack issue similar to yours