18
'npm' is not recognized as internal or external command : Solution
When you have installed node.js on your OS but unable to run the npm commands, this blog will tell you how to fix this issue.
You might have already installed Node.js from the official website. with your respective OS. If you've not installed, click here.
To make sure that you have node installed on your computer --
Go to your drive (C:) -> Program Files -> you should find the node folder.
Copy the folder path of node
Click on the node folder. To copy the path, you can click on the drop down symbol, then use Ctrl+C on the path OR right click on the path and then click copy address.
👇
Change settings
Go to Control Panel -> View advanced system settings
👇
In the Advanced tab -> click on Environment variables
Under System variables, click on Path and then click on edit as shown in the picture below emoji
Like it and share it for more such articles.
Support me by buying me a coffee ☕.
18