簡體   English   中英

無法在我的Ubuntu計算機上從GVM安裝Grails; gvm安裝grails不起作用

[英]Cannot install Grails from GVM on my Ubuntu machine; gvm install grails does not work

我嘗試使用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 ,它給了我與上面相同的錯誤,我嘗試手動刪除文件,但出現錯誤,找不到它們。

嘗試:

gvm list grails

這將為您提供所有已安裝候選人的列表。 如果已安裝了候選軟件,則應該看到一個星號(*)符號,並顯示一個箭頭以顯示正在使用的候選軟件。

如果確實出現。 嘗試通過與安裝一起指定候選對象來卸載它

gvm uninstall grails 3.0.1

然后嘗試再次運行安裝命令。

通常可以正常工作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM