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

cannot find package #73

Open
denidarmayana opened this issue Jan 25, 2022 · 3 comments
Open

cannot find package #73

denidarmayana opened this issue Jan 25, 2022 · 3 comments

Comments

@denidarmayana
Copy link

cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger" in any of:
/usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger (from $GOROOT)
/root/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger (from $GOPATH)
cmd/server/main.go:7:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler" in any of:
/usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler (from $GOROOT)
/root/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler (from $GOPATH)
cmd/server/main.go:8:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn" in any of:
/usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn (from $GOROOT)
/root/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn (from $GOPATH)
cmd/server/main.go:9:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket" in any of:
/usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket (from $GOROOT)
/root/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket (from $GOPATH)
cmd/server/main.go:10:2: cannot find package "gopkg.in/ini.v1" in any of:
/usr/lib/go-1.10/src/gopkg.in/ini.v1 (from $GOROOT)
/root/go/src/gopkg.in/ini.v1 (from $GOPATH)

@droid2015
Copy link

cmd/server/main.go:6:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger" in any of:
/usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger (from $GOROOT)
/home/binhnt/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger (from $GOPATH)
cmd/server/main.go:7:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler" in any of:
/usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler (from $GOROOT)
/home/binhnt/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler (from $GOPATH)
cmd/server/main.go:8:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn" in any of:
/usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn (from $GOROOT)
/home/binhnt/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn (from $GOPATH)
cmd/server/main.go:9:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket" in any of:
/usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket (from $GOROOT)
/home/binhnt/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket (from $GOPATH)
cmd/server/main.go:10:2: cannot find package "gopkg.in/ini.v1" in any of:
/usr/lib/go-1.10/src/gopkg.in/ini.v1 (from $GOROOT)
/home/binhnt/go/src/gopkg.in/ini.v1 (from $GOPATH)

@cloudwebrtc
Copy link
Member

Please try the last commit

@tmtong
Copy link

tmtong commented Aug 3, 2023

Try this
export GO111MODULE=on

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

4 participants