DEV Community

Discussion on: Unable to create a new reactjs application using npm.

Collapse
 
andrewsnapz profile image
Andrew Shin

Hey Abhi,
I think the issue is that your missing Git bash:

npm ERR! core-js@2.6.11 postinstall: node -e "try{require('./postinstall')}catch(e){}"
npm ERR! spawn C:\Program Files\git\bin\bash.exe ENOENT

ENOENT stands for "No such file or directory". So what I think is happening is, its trying to install core-js@2.6.11 using git bash. Git bash is unix command-line shell that installs unix commands that's not found on window devices.

Open up File explorer -> OS(C:) -> Program Files -> Git -> bin
and see if your have bash installed. If not : stanleyulili.com/git/how-to-instal...

Then try running the command again.

Hopefully this helps!