Bower is not recognized as internal or external command [duplicate]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 19:16:47

I've edited the path variable in the environment variables and set it up to the following path and it has worked for me.

C:\Users\<username>\AppData\Roaming\npm\node_modules\bower
Clean code

I've tried set the Path variable value in Users Environment variable to the same as for System Environment variable and it worked...

C:\Users\<username>\AppData\Roaming\npm

For windows users -> If even after adding the path to the environment variables , it doesnt work , try using bower through a git bash shell instead of the windows command prompt. . Mine worked that way.

Set user variable path - C:\Program Files\Nodejs and set system variable path - C:\Users\pk-03\AppData\Roaming\npm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!