Skip to content
This repository has been archived by the owner on Aug 21, 2022. It is now read-only.

saibing/tools 无法创建issue #185

Open
liubaohai opened this issue Jun 28, 2019 · 1 comment
Open

saibing/tools 无法创建issue #185

liubaohai opened this issue Jun 28, 2019 · 1 comment

Comments

@liubaohai
Copy link

liubaohai commented Jun 28, 2019

你好像是中国人,这里就用中文描述了。
我在使用https://github.com/saibing/tools.git,发现一个问题。
由于那里无法创建issue,就在这里创建了。

[Error  - 11:16:27 AM] unable to check package for file:///xx/.go/pkg/mod/github.com/xx/xx.go: go [list -e -json -compiled=true -test=true -export=false -deps=true -find=false : exit status 1: go: writing go.sum: open /xx/.go/pkg/mod/github.com/xx/go.sum120447506.tmp: permission denied

因为go mod缓存的pkg都是readonly的,我在使用references功能的时候,发现gopls尝试去writing go.sum,因为只读导致Error,希望你看下因为什么。
正常情况,不应该去修改第三方包的go.sum。这个问题还不是必现的,我也没找到出现的规律。

@saibing
Copy link
Owner

saibing commented Jun 29, 2019

请参考:golang/go#30185

这个问题属于go编译器的,计划在8月份发布的go 1.13版本中解决。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants