Issue installing bower on windows

后端 未结 3 1502
天命终不由人
天命终不由人 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: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.

提交回复
热议问题