Hello guys,
I am trying out now React, I’ve installed it on my Windows 10 machine, also I have npm, I tried to start a first ever React project by running this command at the cmd terminal:
npx create-react-app todo-react
This initially starts out fine, it creates a series of messages on the terminal when the command is working however near the end there is an error and no project gets created.
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn C:\WINDOWS\system32\cmd.exe
npm ERR! file C:\WINDOWS\system32\cmd.exe
npm ERR! path C:\WINDOWS\system32\cmd.exe
npm ERR! errno -4058
npm ERR! core-js@2.6.12 postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
npm ERR! spawn C:\WINDOWS\system32\cmd.exe ENOENT
I think it has to do with a path since the error that it logs at the terminal.
I am attarching a screen shot of
1.- The terminal (cmd) with the error
2.- The paths for my computer
Has someone had this problem? and if you have can you point me in the right direction?
I appreciate you reading this and I hope you have a great rest of your day.