befovy / fvm

Flutter Version Manager. Flutter 多版本管理工具。 本地缓存安装多个 Flutter 版本,随时快速切换
Apache License 2.0
264 stars 19 forks source link

fvm install 失败 #23

Open jizhigang opened 3 years ago

jizhigang commented 3 years ago

jizhigang@jizhigangdeMacBook-Pro ~ % fvm install master --repo https://github.com/flutter/flutter.git fvm: You have installed flutter outside of fvm fvm: --> /opt/flutter/bin/flutter fvm: To import this into fvm, use fvm import fvm: Install flutter from repo https://github.com/flutter/flutter.git fvm: Command 'git' exited with error: chdir /Users/jizhigang/Library/Application Support/fvm/versions/master: no such file or directory jizhigang@jizhigangdeMacBook-Pro ~ %

jizhigang commented 3 years ago

我的问题解决了,是因为我在另外的地方配置了flutter,我想使用fvm import命令将之前配置的flutter移动到fvm/versions中但是失败了,不过这个时候再执行fvm install命令是成功的

befovy commented 3 years ago

fvm import 失败了是吗? 后续 fvm 是否可以正常使用?

virskor commented 3 years ago

fvm install 1.22.5 fvm: Command 'git' exited with error: chdir /Users/virs/Library/Application Support/fvm/versions/1.22.5: no such file or directory

wangfeng211 commented 3 years ago

fvm install 1.22.5 fvm: Command 'git' exited with error: chdir /Users/virs/Library/Application Support/fvm/versions/1.22.5: no such file or directory

I had the same problem