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

module declaration error #1082

Closed
codenoid opened this issue Mar 17, 2020 · 1 comment
Closed

module declaration error #1082

codenoid opened this issue Mar 17, 2020 · 1 comment

Comments

@codenoid
Copy link

Your environment.

  • Version: github master
  • Browser: -
  • Go Version: go version go1.14 linux/amd64

What did you do?

I'm trying to install pion/webrtc with go.mod

What did you expect?

successful go get

What happened?

$ go get -u github.com/pion/webrtc
go: github.com/pion/webrtc upgrade => v1.2.0
go get: github.com/pion/webrtc@v1.2.0: parsing go.mod:
	module declares its path as: github.com/pions/webrtc
	        but was required as: github.com/pion/webrtc

$ go get -u github.com/pion/webrtc@2.2.0
go get github.com/pion/webrtc@2.2.0: github.com/pion/webrtc@2.2.0: invalid version: unknown revision 2.2.0

this is so confusing for novice like me, how can i get latest pion/webrtc from go get ?

@Sean-Der
Copy link
Member

Hey @codenoid can you try doing github.com/pion/webrtc/v2

We renamed from pions -> pion and unfortunately this broke our history. thanks!

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

No branches or pull requests

2 participants