我尝试使用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.发布于 2015-05-31 06:18:56
尝试:
gvm list grails这将为您提供所有已安装候选程序的列表。如果您安装了候选人,则应看到一个星号(*)符号和一个箭头,以显示正在使用哪个候选人。
如果他们真的出现了。尝试通过在安装时指定候选项来卸载它
gvm uninstall grails 3.0.1然后再次尝试运行install命令。
它通常是有效的。
https://stackoverflow.com/questions/30551808
复制相似问题