Coder Social home page Coder Social logo

docker构建失败 about gshark HOT 6 CLOSED

cx9208 avatar cx9208 commented on May 30, 2024
docker构建失败

from gshark.

Comments (6)

dead5nd avatar dead5nd commented on May 30, 2024 1

修改server/go.mod中base64Captcha的版本为1.3.4再试试

from gshark.

madneal avatar madneal commented on May 30, 2024

无法复现

from gshark.

madneal avatar madneal commented on May 30, 2024

#192 他好像是和你一样的问题,不可能是项目中依赖的版本问题

from gshark.

jesse-zhangh avatar jesse-zhangh commented on May 30, 2024

同样的问题
`go: downloading github.com/klauspost/cpuid/v2 v2.2.4
go: downloading gopkg.in/fsnotify.v1 v1.4.7
go: downloading golang.org/x/mod v0.8.0

github.com/madneal/gshark/api

api/sys_captcha.go:19:22: assignment mismatch: 3 variables but cp.Generate returns 4 values
The command '/bin/sh -c go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go env -w CGO_ENABLED=0 && go env && go mod tidy && go build -o server .' returned a non-zero code: 2
ERROR: Service 'server' failed to build : Build failed`

from gshark.

jesse-zhangh avatar jesse-zhangh commented on May 30, 2024

OS
Ubuntu22.04

from gshark.

jesse-zhangh avatar jesse-zhangh commented on May 30, 2024

@dead5nd 谢谢,修改server/go.mod中base64Captcha的版本为1.3.4,可以构建成功

from gshark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.