drive icon indicating copy to clipboard operation
drive copied to clipboard

'go get' is no longer supported outside a module.

Open jelabarre59 opened this issue 3 years ago • 4 comments

The instructions on the main page are no longer valid for current versions of Go.

The command "go get -u github.com/odeke-em/drive/cmd/drive" should now be "go install github.com/odeke-em/drive/cmd/drive@latest"

jelabarre59 avatar Jan 02 '23 22:01 jelabarre59

I had the same issue

$ go get -u github.com/odeke-em/drive/cmd/drive
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

osalbahr avatar Feb 17 '23 01:02 osalbahr

go install worked for me

fontseca avatar Jun 29 '23 19:06 fontseca

It’s been a while, I forgot I even commented here lol. Is there an good alternative? This project seems dead, sadly.

osalbahr avatar Jun 29 '23 19:06 osalbahr

Yeah, it's sort of dead. I switched to rclone for Google Drive. It meets my necessities.

fontseca avatar Jul 02 '23 01:07 fontseca