Zurb Foundation SCSS: Can't find bower

2019-09-17 10:39发布

问题:

I'm trying to create a new foundation project with Ruby through the Windows command prompt. Every time I try to create a new project I get this error message:

Can't find bower. You can install it by running: sudo npm install -g bower

What is the Windows command for this? I've tried gem install bower but still get the same message.

回答1:

To use Bower on Windows, you must install Git correctly. Install Git first and then use git prompt to install bower. Download and install Git for Windows