Giter VIP home page Giter VIP logo

Comments (15)

savsgio avatar savsgio commented on June 8, 2024 1

Hi,

I'be just created the v1.4.4 version to fix the error, without retract v1.4.3 due to the retract directive is not compatible with Go 1.15.

Thanks and sorry! 😉

from websocket.

alexg-axis avatar alexg-axis commented on June 8, 2024

The following worked for me:

# 1. Clean cache
go clean -modcache
# 2. Check that you don't have conflicting versions (github.com/gofiber/fiber/v2 and github.com/gofiber/fiber) in your go mod
# 3. Tidy
go mod tidy

from websocket.

sujit-baniya avatar sujit-baniya commented on June 8, 2024

@alexg-axis I tried above and didn't help when tried to do go get -u github.com/fasthttp/websocket

from websocket.

alexg-axis avatar alexg-axis commented on June 8, 2024

I got the issue again and this time I tried another solution.

  1. Remove all indirect dependencies
  2. Remove go.sum (be aware of the potential issues this could lead to)
  3. Manually add your dependencies, my example pasted below
  4. Run go mod tidy - don't run go get -u
require (
	// ...
	github.com/fasthttp/websocket v1.4.3-rc.9
	github.com/gofiber/fiber/v2 v2.19.0
	github.com/valyala/fasthttp v1.30.0
)

See: gofiber/websocket#66.

from websocket.

sujit-baniya avatar sujit-baniya commented on June 8, 2024

@alexg-axis The problem is with go get -u on the package. Because manually upgrade each dependencies are is not a solution as there will be more dependencies.

from websocket.

alexg-axis avatar alexg-axis commented on June 8, 2024

I understand. It's not a solution, rather a workaround.

from websocket.

sujit-baniya avatar sujit-baniya commented on June 8, 2024

@savsgio Any idea for fixing this issue?

from websocket.

savsgio avatar savsgio commented on June 8, 2024

Hi all,

The version v1.4.3 is wrong version, because when i created the first beta version of v1.4.3 i made the mistake when i wrote the tag version. I will try to contact with go.dev staff to remove the v1.4.3 version.

So, now the last correct version is v1.4.3-rc.9.

Thanks and sorry!

from websocket.

sujit-baniya avatar sujit-baniya commented on June 8, 2024

@savsgio Still the issue is not fixed.

image

I think maybe just for the sake to fix the issue, Create a different release tag v1.4.4-rc.1 on new commit?

from websocket.

G2G2G2G avatar G2G2G2G commented on June 8, 2024

still

go get -u all
go get all: module github.com/savsgio/gotils@upgrade found (v0.0.0-20210921075833-21a6215cb0e4), but does not contain package github.com/savsgio/gotils

from websocket.

efectn avatar efectn commented on June 8, 2024

Getting same error.

from websocket.

Brian-NgH777 avatar Brian-NgH777 commented on June 8, 2024

Getting same error.

from websocket.

G2G2G2G avatar G2G2G2G commented on June 8, 2024

@savsgio give me write permission so I can change the version number

from websocket.

savsgio avatar savsgio commented on June 8, 2024

Hi everyone,

I created an issue (golang/go#50129) to remove the invalid v1.4.3 version.

Thanks for your patience!

from websocket.

sujit-baniya avatar sujit-baniya commented on June 8, 2024

@savsgio Maybe just create another version 1.4.4 to fix the error

from websocket.

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.