Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install via go install #1194

Closed
clin1234 opened this issue Mar 5, 2025 · 1 comment
Closed

Unable to install via go install #1194

clin1234 opened this issue Mar 5, 2025 · 1 comment

Comments

@clin1234
Copy link

clin1234 commented Mar 5, 2025

 ❯ go install github.com/aliyun/aliyun-cli/main@master          
go: downloading github.com/aliyun/aliyun-cli v0.0.0-20250305082211-b3482906df53
go: downloading github.com/aliyun/credentials-go v1.4.3
go: downloading github.com/alibabacloud-go/tea v1.3.1
go: downloading github.com/alibabacloud-go/tea-utils/v2 v2.0.7
go: downloading github.com/aliyun/aliyun-oss-go-sdk v2.2.9+incompatible
go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.63.88
go: downloading golang.org/x/time v0.0.0-20220224211638-0e9765cccd65
go: finding module for package github.com/aliyun/aliyun-cli/aliyun-openapi-meta
go: downloading github.com/aliyun/aliyun-cli v3.0.25+incompatible
go\pkg\mod\github.com\aliyun\aliyun-cli@v0.0.0-20250305082211-b3482906df53\main\main.go:24:2: module github.com/aliyun/aliyun-cli@latest found (v3.0.25+incompatible), but does not contain package github.com/aliyun/aliyun-cli/aliyun-openapi-meta
@CodeSpaceiiii
Copy link
Contributor

The subdirectory aliyun-openapi-meta points to the repository at https://github.com/aliyun/aliyun-openapi-meta. Why do you need to use go install directly? If you need to install the CLI, you can use our pre-built binary available at https://github.com/aliyun/aliyun-cli/releases.

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

No branches or pull requests

2 participants