Skip to content

安装 Abcoder 最新版本报错 #82

@masonsxu

Description

@masonsxu

Describe the bug

使用 go install github.com/cloudwego/abcoder@latest 命令安装会报错

To Reproduce

Steps to reproduce the behavior:

  1. go install github.com/cloudwego/abcoder@latest

Expected behavior
❯ go install github.com/cloudwego/abcoder@latest
go: downloading github.com/cloudwego/abcoder v0.1.2
go: downloading github.com/cloudwego/eino-ext/components/model/ark v0.1.16
go: downloading github.com/cloudwego/eino-ext/components/model/claude v0.1.1
go: downloading github.com/cloudwego/eino v0.3.52
go: downloading github.com/cloudwego/eino-ext/components/model/ollama v0.0.0-20250718041314-444cfd7822ec
go: downloading github.com/cloudwego/eino-ext/components/model/openai v0.0.0-20250718041314-444cfd7822ec
go: downloading github.com/mark3labs/mcp-go v0.34.0
go: downloading github.com/cloudwego/eino-ext/components/tool/mcp v0.0.3
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/invopop/jsonschema v0.13.0
go: downloading github.com/bytedance/sonic v1.13.3
go: downloading github.com/anthropics/anthropic-sdk-go v1.4.0
go: downloading github.com/aws/aws-sdk-go-v2/config v1.29.1
go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.17.54
go: downloading github.com/ollama/ollama v0.5.12
go: downloading github.com/getkin/kin-openapi v0.118.0
go: downloading github.com/aws/aws-sdk-go-v2 v1.33.0
go: downloading github.com/openai/openai-go v1.10.1
go: downloading github.com/volcengine/volcengine-go-sdk v1.1.21
go: downloading github.com/cloudwego/eino-ext/libs/acl/openai v0.0.0-20250626133421-3c142631c961
go: downloading github.com/nikolalohinski/gonja v1.5.3
go: downloading github.com/slongfield/pyfmt v0.0.0-20220222012616-ea85ff4c361f
go: downloading github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
go: downloading golang.org/x/mod v0.24.0
go: downloading golang.org/x/tools v0.32.0
go: downloading github.com/sourcegraph/go-lsp v0.0.0-20240223163137-f80c5dd31dfd
go: downloading github.com/sourcegraph/jsonrpc2 v0.2.0
go: downloading github.com/wk8/go-ordered-map/v2 v2.1.8
go: downloading golang.org/x/sys v0.33.0
go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.3
go: downloading github.com/tidwall/gjson v1.18.0
go: downloading github.com/tidwall/sjson v1.2.5
go: downloading github.com/go-openapi/jsonpointer v0.21.0
go: downloading github.com/invopop/yaml v0.3.1
go: downloading github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
go: downloading github.com/perimeterx/marshmallow v1.1.5
go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.24
go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1
go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.24.11
go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.10
go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.33.9
go: downloading github.com/aws/smithy-go v1.22.1
go: downloading github.com/spf13/cast v1.7.1
go: downloading github.com/yosida95/uritemplate/v3 v3.0.2
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/meguminnnnnnnnn/go-openai v0.0.0-20250620092828-0d508a1dcdde
go: downloading github.com/goph/emperror v0.17.2
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading github.com/bahlo/generic-list-go v0.2.0
go: downloading github.com/buger/jsonparser v1.1.1
go: downloading github.com/mailru/easyjson v0.9.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/tidwall/match v1.1.1
go: downloading github.com/tidwall/pretty v1.2.1
go: downloading github.com/go-openapi/swag v0.23.0
go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.28
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.9
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/pelletier/go-toml/v2 v2.2.3
go: downloading github.com/yargevad/filepathx v1.0.0
go: downloading golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa
go: downloading golang.org/x/sync v0.13.0
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.28
go: downloading github.com/volcengine/volc-sdk-golang v1.0.204
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/evanphx/json-patch v0.5.2
go: downloading golang.org/x/net v0.39.0
go: downloading github.com/cenkalti/backoff/v4 v4.3.0
go: downloading golang.org/x/text v0.24.0

github.com/bytedance/sonic/internal/rt

go/pkg/mod/github.com/bytedance/sonic@v1.13.3/internal/rt/stubs.go:33:22: undefined: GoMapIterator
go/pkg/mod/github.com/bytedance/sonic@v1.13.3/internal/rt/stubs.go:36:54: undefined: GoMapIterator

Screenshots

If applicable, add screenshots to help explain your problem.

Version:

Please provide the version of {project_name} you are using.

Environment:

❯ go env
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='on'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE=''
GOCACHEPROG=''
GODEBUG=''
GOENV=''
GOEXE=''
GOEXPERIMENT='nodwarf5'
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build673215646=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/dev/null'
GOMODCACHE=''
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH=''
GOPRIVATE=''
GOPROXY='https://goproxy.cn,direct'
GOROOT='/usr/lib/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR=''
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/lib/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.25.1 X:nodwarf5'
GOWORK=''
PKG_CONFIG='pkg-config'

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions