How to fix not recognized as an internal or external command after installing node modules.
For Example: npm install -g grunt-cli bower yo
After installation while typing yo or bower. Its throwing error "Moule_name" not recognized as an internal or external command
Got it!!!
Issue is with environment variables. Mentioned node modules will not be accessed globally. So the app data path should be updated in system variables(Environment variable).
path: ;C:\Users\currentusername\AppData\Roaming\npm;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With