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

go get github.com/dropbox/dbxcli cannot find module providing package #193

Open
ashhulme opened this issue Jul 1, 2022 · 1 comment
Open

Comments

@ashhulme
Copy link

ashhulme commented Jul 1, 2022

getting the below errors when running the following command

root@:~/go# go get github.com/dropbox/dbxcli

github.com/dropbox/dbxcli imports
github.com/dropbox/dropbox-sdk-go-unofficial/dropbox: cannot find module providing package github.com/dropbox/dropbox-sdk-go-unofficial/dropbox
github.com/dropbox/dbxcli imports
github.com/dropbox/dbxcli/cmd imports
github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/auth: cannot find module providing package github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/auth
github.com/dropbox/dbxcli imports
github.com/dropbox/dbxcli/cmd imports
github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files: cannot find module providing package github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files
github.com/dropbox/dbxcli imports
github.com/dropbox/dbxcli/cmd imports
github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing: cannot find module providing package github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing
github.com/dropbox/dbxcli imports
github.com/dropbox/dbxcli/cmd imports
github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team: cannot find module providing package github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team
github.com/dropbox/dbxcli imports
github.com/dropbox/dbxcli/cmd imports
github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users: cannot find module providing package github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users

@cameron314
Copy link

cameron314 commented Jan 1, 2024

Looks like dropbox/dropbox-sdk-go-unofficial moved its modules to a v6 subfolder. dbxcli was updated on master but not released. Try go get github.com/dropbox/dbxcli@master.

EDIT: go get github.com/dropbox/dbxcli@master works to install the dependencies, but not the actual (writable) source code. For that I ended up cloning the repository separately, editing cmd/root.go, then running go build.

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

2 participants