vue.js - go get wails 安装不正确

标签 vue.js go

尝试使用...golang 和 wails...但在此之后...

去获取 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。

有什么建议吗?

最佳答案

确保你的 shell 文件有:

export GO111MODULE=on
export PATH=$PATH:~/go/bin

关于vue.js - go get wails 安装不正确,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57743033/

相关文章:

javascript - VueJS 数据绑定(bind)对象样式不起作用

go - 结构初始化:p.U文字中的值太少还是p.U文字中未导出字段'c'的隐式赋值?

regex - 随机生成器匹配正则表达式?

javascript - 如何呈现数据属性?

vue.js - 如何将外部 SVG 作为对象加载到 Vue 中

html - 将数据从 Django View 作为 JSON 对象传递到 vue 实例

azure - 部署时出现错误: An attempt was made to access a socket in a way forbidden by its access permissions

node.js - 带有 Node js 的谷歌 oauth2

go.mod 在修订时有 post-v0 模块路径 "git.example.com/owner/repo/v3"...?

go - 如何使用 go 导入器