I uninstalled Node.js and reinstalled it to fixed a different error.Now In visual studio terminal for bash and cmd, I am getting
bash: npm: command not found.
I uninstalled Node.js and reinstalled it to fixed a different error.Now In visual studio terminal for bash and cmd, I am getting
bash: npm: command not found.
Copy the address of file where your nodejs is stored and then go to Enviroment variables advance setting select "path" from upper window list,
then click edit and then add a ";" in given path then paste the copied address of the nodejs file
Now you can run npm from anywhere !