mod-是什么导致 go 中出现“内部错误:未能找到...的嵌入文件”之类的错误消息?
发布时间:2022-06-03 21:33:08 431
相关标签: # git# github
我已经在我的分支上工作了几天。与此同时,master分支已经发展,所以我这样做了git rebase master。
输出CONFLICT在某些文件中显示 s:
Auto-merging vendor/modules.txt
CONFLICT (content): Merge conflict in vendor/modules.txt
Auto-merging go.sum
CONFLICT (content): Merge conflict in go.sum
Auto-merging go.mod
CONFLICT (content): Merge conflict in go.mod
error: could not apply 1bd673ea... update vendor folder
Resolve all conflicts manually, mark them as resolved with
update vendor folder
"git add/rm ", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply 1bd673ea... update vendor folder
解决冲突后,我会go mod tidy
然后go mod vendor
. 结果是一条奇怪的消息:
internal error: failed to find embedded files of github.com/grpc-ecosystem/grpc-gateway/v2/runtime: //go:build comment without // +build comment
这意味着什么?我如何避免?
特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报