befovy / fvm

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

fvm install master 失败 #17

Open TshineZheng opened 4 years ago

TshineZheng commented 4 years ago
$ fvm install master
fvm: Command 'git' exited with error: chdir /home/tshine/Dev/fvm/versions/master: no such file or directory

系统信息

$ screenfetch 

 ██████████████████  ████████     tshine@tshine-inspiron3471
 ██████████████████  ████████     OS: Manjaro 20.0.3 Lysia
 ██████████████████  ████████     Kernel: x86_64 Linux 5.6.19-2-MANJARO
 ██████████████████  ████████     Uptime: 3h 6m
 ████████            ████████     Packages: 1344
 ████████  ████████  ████████     Shell: zsh 5.8
 ████████  ████████  ████████     Resolution: 1920x1080
 ████████  ████████  ████████     DE: KDE 5.72.0 / Plasma 5.19.3
 ████████  ████████  ████████     WM: KWin
 ████████  ████████  ████████     GTK Theme: Breath [GTK2/3]
 ████████  ████████  ████████     Icon Theme: breath2
 ████████  ████████  ████████     Disk: 19G / 107G (19%)
 ████████  ████████  ████████     CPU: Intel Core i5-9400 @ 6x 4.1GHz [37.0°C]
 ████████  ████████  ████████     GPU: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
                                  RAM: 3952MiB / 15825MiB
VomPom commented 3 years ago

same +1

jizhigang commented 3 years ago

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

bravecheng commented 3 years ago

相同的问题:

chengyong@chengyong-Mac ~ % fvm install v1.17.0
fvm: v1.17.0 is not a valid version
chengyong@chengyong-Mac ~ % fvm use master
fvm: linkpath: /Users/chengyong/Library/Application Support/fvm/current
fvm: master is active
chengyong@chengyong-Mac ~ % fvm use v1.17.0
fvm: Flutter v1.17.0 is not installed. Please run fvm install <version>
chengyong@chengyong-Mac ~ % fvm install v1.17.0
fvm: v1.17.0 is not a valid version
chengyong@chengyong-Mac ~ % fvm install 1.17.0
fvm: Command 'git' exited with error: chdir /Users/chengyong/Library/Application Support/fvm/versions/1.17.0: no such file or directory
tomb2015mosiyu commented 3 years ago

same +1

clstech commented 3 years ago

+1