Issue installing bower on windows

风格不统一 提交于 2019-12-03 10:57:10

Check if C:\Program Files (x86)\Git\local is added to your Path Environment Variable.

Same problem but for me I had to add the Path Environment Variable that pointed to the AppData/Roming/ folder. I have no idea why node.js would install npm in the Roming folder. If I didn't have hidden folders turned on we never would have found it.

C:\Users\me\AppData\Roaming\npm;

Then npm works from Node.js command prompt, and bower works from GitBash.

Check your version of node, I was running on v0.10.15 then updated to v0.10.35 and that fixed the issue for me.

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