尝试使用... golang和哀号...但是之后...
go get github.com/wailsapp/wails/cmd/wails
我明白了

   ../../github.com/wailsapp/wails/cmd/semver.go:21:3: cannot use semverVersion (type semver.Version) as type *semver.Version in field value
../../github.com/wailsapp/wails/cmd/semver.go:48:40: cannot use s.Version (type *semver.Version) as type semver.Version in argument to constraint.Validate
../../github.com/wailsapp/wails/cmd/semver.go:64:40: cannot use s.Version (type *semver.Version) as type semver.Version in argument to constraint.Validate
../../github.com/wailsapp/wails/cmd/semver.go:91:35: cannot use c[j].Version (type *semver.Version) as type semver.Version in argument to c[i].Version.LessThan

wails init也无法正常工作。

已安装最新版本的get和golang。

有任何建议吗?

最佳答案

go get github.com/wailsapp/wails/cmd/wails确实被Masterminds / semver中的更改所破坏,但是安装Wails的官方方法是在安装前确保您具有GO111MODULE=on。通常,这可以使您免受此问题的困扰。

关于vue.js - 去得到哀号没有正确安装,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/57743033/

10-12 06:38