【发布时间】:2013-04-02 15:17:45
【问题描述】:
我在 Windows 2008 R2 Enterprise 上安装了 Drush 5.8,除了远程管理之外,所有选项都包括在内。
每当我运行drush make 时,我都会收到关于无法解压缩 github 存档文件以及无法确定 js 文件的 mime 类型的错误。这是我的make文件和输出。我不确定这里出了什么问题,并且会喜欢你可能有的任何指针。
制作文件:
; Drupal 7 core
core = 7.x
api = 2
projects[drupal][version] = 7
; Libraries
; --------
libraries[colorbox][download][type] = "get"
libraries[colorbox][download][url] = "https://github.com/jackmoore/colorbox/archive/1.4.8.zip"
libraries[colorbox][directory_name] = colorbox
libraries[colorbox][destination] = libraries
libraries[zepto][download][type] = "get"
libraries[zepto][download][url] = "http://zeptojs.com/zepto.min.js"
libraries[zepto][directory_name] = zepto
libraries[zepto][destination] = libraries
输出:
C:\Users\Administrator\Desktop\drush>drush make test.make testing
Could not locate drupal version 7, will try to download latest recommended or supported release. [warning]
drupal-7.21 downloaded. [ok]
colorbox downloaded from https://github.com/jackmoore/colorbox/archive/1.4.8.zip. [ok]
Unable to unzip C:\Users\ADMINI~1\AppData\Local\Temp\1/make_tmp_1364915473_515af511066a2/1.4.8.zip. [error]
zepto downloaded from http://zeptojs.com/zepto.min.js. [ok]
Unable to determine mime type for zepto.min.js. [error]
【问题讨论】:
-
如果有帮助,当我以详细模式运行 drush make 时,我看到“'curl' 不是内部或外部命令、可运行程序或批处理文件”