Answer the question
In order to leave comments, you need to log in
Why does the npm -v command in VScode terminal give an error?
When running in CMD, the version shows, but with some blot on CALL:
Doing the same in VScode gives some errors:
Because of this, I can not create an environment for the React project. The second day I try to find answers, but they are not anywhere. The fact that I run to find out the version through -v, and not --version does not affect the result in any way.
There is a guess that the problem is that bat / cmd files are not launched on behalf of the user. But I can't find an adequate answer to this problem either.
Answer the question
In order to leave comments, you need to log in
First, try to demolish the node and install it again
Then create a folder with an English name on the desktop and create a new project in it using
create-react-app
, see if it works
If everything works, then demolish node_modules
And install it via npm I
And as an additional option I can still I advise you to install yarn with it more conveniently
npm i -g yarn
then the commands for the project will be
To install yarn packages
To run yarn start
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question