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

ubuntu desktop编译,镜像中编译simcore/framework cli时报错 #74

Open
wanderpoet-bake opened this issue Sep 26, 2024 · 1 comment

Comments

@wanderpoet-bake
Copy link

wanderpoet-bake commented Sep 26, 2024

txsim/cli/cmd imports
github.com/spf13/viper imports
github.com/spf13/viper/internal/encoding/hcl imports
github.com/hashicorp/hcl tested by
github.com/hashicorp/hcl.test imports
github.com/davecgh/go-spew/spew: nhooyr.io/[email protected]: reading nhooyr.io/websocket/go.mod at revision v1.8.7: unknown revision v1.8.7

执行这段代码时报错simcore/framework/build.sh

build framework cli
cd "$FRAMEWORK_CLI"
echo "framework_cli build start..."
go env -w GOPROXY=https://goproxy.io,direct
go mod tidy -compat=1.17
go build
echo -e "framework_cli build successfully.\n"

@dongfeng2134
Copy link
Contributor

go env -w GOPROXY=https://goproxy.io,direct

这行切换为您网络支持的源
如果去掉就是默认官方源

对于那些源您可以 gpt搜搜

go env -w GOPROXY=https://goproxy.io,direct

go env -w GOPROXY=https://proxy.golang.org,direct

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