fvm icon indicating copy to clipboard operation
fvm copied to clipboard

fvm install master 失败

Open TshineZheng opened this issue 4 years ago • 5 comments

$ 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

TshineZheng avatar Jul 28 '20 06:07 TshineZheng

same +1

VomPom avatar Oct 14 '20 08:10 VomPom

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

jizhigang avatar Oct 16 '20 07:10 jizhigang

相同的问题:

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

bravecheng avatar Nov 27 '20 13:11 bravecheng

same +1

tomb2015mosiyu avatar Mar 17 '21 06:03 tomb2015mosiyu

+1

clstech avatar Mar 21 '21 14:03 clstech