rikka icon indicating copy to clipboard operation
rikka copied to clipboard

Unable to build.

Open mzch opened this issue 2 years ago • 1 comments

Run go build . and the following error occurred.

go: github.com/tencentyun/[email protected]+incompatible: reading github.com/tencentyun/go-sdk/go.mod at revision v2.0.4: git ls-remote -q origin in /srv/rikka/.go/pkg/mod/cache/vcs/4ef3d9b1914ec4655ef77fdd811acb67b92192d4de946114cd185492d0fea3f3: exit status 128:
	fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.
go: downloading github.com/satori/go.uuid v1.2.0
go: downloading github.com/tencentyun/image-go-sdk v2.0.4+incompatible
go: downloading github.com/tencentyun/cos-go-sdk-v5 v0.7.25
go: downloading github.com/upyun/go-sdk/v3 v3.0.2
go: downloading github.com/qiniu/go-sdk/v7 v7.9.5
go: downloading github.com/google/go-querystring v1.1.0
go: downloading github.com/mozillazg/go-httpheader v0.3.0
go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
go: github.com/tencentyun/[email protected]+incompatible: reading github.com/tencentyun/go-sdk/go.mod at revision v2.0.4: git ls-remote -q origin in /srv/rikka/.go/pkg/mod/cache/vcs/4ef3d9b1914ec4655ef77fdd811acb67b92192d4de946114cd185492d0fea3f3: exit status 128:
	fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

mzch avatar May 08 '22 19:05 mzch

Some qcloud cos/image lib repo has been deleted.

You can modify the code(remove thoose tencent plugin, or update to use new official lib)then build yourself, or use prebuilt Docker image if you just want to give this project a try.

7sDream avatar May 11 '22 09:05 7sDream

I replaced github.com/tencentyun/image-go-sdk with a existing fork

It compiles, but I didn't test if this plugin still works now.

7sDream avatar Nov 15 '23 09:11 7sDream