这两天刚入go的坑,准备安装LiteIDE,进去之后遇到了个Error
`15:07:08 DlvRpcDebugger: dlv was not found on system PATH (hint: is Delve installed? "go get -u github.com/go-delve/delve/cmd/dlv")`
`15:07:08 LiteDebug: Failed to start debugger`
`15:07:22 DlvRpcDebugger: dlv was not found on system PATH (hint: is Delve installed? "go get -u github.com/go-delve/delve/cmd/dlv")`
`15:07:22 LiteDebug: Failed to start debugger`
`15:07:47 DlvRpcDebugger: dlv was not found on system PATH (hint: is Delve installed? "go get -u github.com/go-delve/delve/cmd/dlv")`
`15:07:47 LiteDebug: Failed to start debugger`
然后我运行了`go get -u github.com/go-delve/delve/cmd/dlv`
获得了新的BUG!
`compile: version "go1.17.4" does not match go tool version "go1.17.3"`
没找到安装指定版本的方法诶。。
解决了
因为我mac上又用brew下载了1.17.3版本,又用了官方网页的1.17.4的.pkg。
我直接进行了一个`brew uninstall go`舒服了
#2