Having problems with the npx command in VS code terminal not working

I am getting into react/node js, etc. I am following through with a tutorial and a book. One of the first steps is to set up an environment and I followed through the previous step. Installed VS Code then Node.js, etc. When I try to set up an environment in VS code using the code shown in the tutorial( npx create-react-app inv-man ). It gives me errors. To be more precise error npm ERR! errno -4058.

enter image description here

Can someone show me where I have made a mistake?

I tried setting up an environment in VS code for a React app with the following command:

npx create-react-app inv-man

And I got this error:

enter image description here