Issue installing bower on windows

后端 未结 3 1569
天命终不由人
天命终不由人 2021-02-12 18:09

I\'m using Windows 7 64bit and I install Bower with

npm install -g bower

It seems to install correctly.

npm http GET https://re         


        
相关标签:
3条回答
  • 2021-02-12 19:01

    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.

    0 讨论(0)
  • 2021-02-12 19:07

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

    0 讨论(0)
  • 2021-02-12 19:07

    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.

    0 讨论(0)
提交回复
热议问题