dashixiong91 / fvm

🗼Flutter SDK versions Manager
MIT License
88 stars 9 forks source link

fvm install 1.9.1 解压报错 #2

Closed androidHQJ closed 4 years ago

androidHQJ commented 4 years ago

error [/var/folders/rw/h6lcy3wj4g17_nl6s19dgbwm0000gn/T/fvm/flutter.zip]: start of central directory not found; zipfile corrupt. (please check that you have transferred or created the zipfile in the appropriate BINARY mode and that you have compiled UnZip properly)

请问是什么原因呢?

dashixiong91 commented 4 years ago

什么环境? 看错误提示确实是解压失败了,你可以尝试一下删掉缓存目录${TMPDIR}fvm重试一下

Creolophus commented 4 years ago

1.9.1报错+1,看来不是个例

androidHQJ commented 4 years ago

@dashixiong91 运行环境是 mac os

dashixiong91 commented 4 years ago

@Creolophus 能否尝试cd到缓存目录,然后用系统自带的解压工具试试,如果还是失败,则说明下载的文件有问题

Creolophus commented 4 years ago

试过的,解压失败,应该是下载的文件有问题