为什么使用CodeKit进行Foundation安装失败?

时间:2018-02-28 14:43:03

标签: zurb-foundation codekit

我已经使用CodeKit好几年了,今天早上我尝试通过下载Zurb的基金会开始一个新项目,但一直收到这个错误。

Foundation: Installation failed. CodeKit cloned Foundation's Git repository to 

your project folder, but it could not download the latest components using Bower. Try these steps to fix the problem:

1. Be sure you're connected to the Internet.
2. If you are running any blocking/security apps like Little Snitch or Antivirus software, disable those.
3. If you have installed Apple's Developer Tools, launch Xcode, accept the license terms and let the installation routine finish.
4. Make sure your network or firewall is not blocking the default port for git:// URLs, which is 9418. (Corporate networks do this frequently.) Use the "Tasks" menu to switch Git to use https:// URLs instead.
5.Delete the following hidden folders in your home directory: ".cache", ".npm", ".local"

我按照要尝试的5个步骤进行操作,而且我仍然没有运气安装基础。

尝试通过New Zurb Foundation Project选项安装Foundation 6。

1 个答案:

答案 0 :(得分:-1)

您可以打开终端并重置XCode: $ sudo xcode-select --reset 为我工作。如果不起作用,请安装命令行工具: $ xcode-select --install 祝你好运!