2

我在通过 SDK 安装 Grails 时遇到问题。我通过https://grails.org/download.html#sdkman上的说明安装了 SDK,并正确安装了 sdk

$ sdk version
SDKMAN 5.1.4+78`

但是当我执行

$ sdk install grails

我在终端中得到输出

$ sdk install grails

Downloading: grails 3.2.0.RC2

In progress...

######################################################################## 100.0%
curl: (56) SSLRead() return error -36
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /Users/hwmehwme/.sdkman/archives/grails-3.2.0.RC2.zip or
        /Users/hwmehwme/.sdkman/archives/grails-3.2.0.RC2.zip.zip, and cannot find /Users/hwmehwme/.sdkman/archives/grails-3.2.0.RC2.zip.ZIP, period.

Stop! The archive was corrupt and has been removed! Please try installing again.

我确实重新启动了终端并再次安装,但又出现了同样的问题。

我在安装中缺少什么?是否需要其他依赖项?任何帮助深表感谢!

4

0 回答 0