Error starting an Ionic project

Asked

Viewed 111 times

-1

I am having a problem starting an Ionic project, I have installed Node.js V10.15.1, Cordova 8.1.2 ([email protected]), Ionic cli CLI 4.10.3 and I only get the error

npm i [ERROR] Command not found: npm.

I’ve done the process for CMD and Git Bash. I really need help on this case.inserir a descrição da imagem aqui

1 answer

0

Your problem is with installing NPM, which has either not been installed, or has been installed incorrectly.

If you installed, don’t forget to restart your computer after installation.

If this does not solve, type node -v on the command promp and see if he can find any version. If not, go to the Nodejs to carry out the installation.

If you found it, you can manually try adding the installation location to the environment variable PATH. For this, follow the steps described in this other Stackoverflow response here to edit the environment variable PATH. And then add that to the end of the text:

;C:\Program Files\nodejs\

Just add at the end, do not replace all the text!

  • NPM is installed, version 6.4.1 with Node V10.15.1, already restarted the computer, now how much the configuration of these environment variables you can better guide me?

  • Follow these steps described in that answer here, is the best way in which I can show you how to add that value to the environment variables.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.