我尝试使用 GVM 工具安装 Grails,在此之前我将 GVM 从一个非常旧的版本更新到最后一个版本。在提示的建议下,我执行gvm install grails
了,连接问题后失败。我尝试通过键入相同的命令再次安装 Grails。
Found a previously downloaded grails 3.0.1 archive.
Not downloading it again...
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 /home/myhome/.gvm/archives/grails-3.0.1.zip or
/home/myhome/.gvm/archives/grails-3.0.1.zip.zip,
and cannot find /home/myhome/.gvm/archives/grails-3.0.1.zip.ZIP, period.
Stop! The archive was corrupt and has been removed! Please try installing again.
我再次执行gvm install grails
,它给了我上面同样的错误,我试图手动删除文件,但我得到一个错误,他们没有找到。