pcloud-cli icon indicating copy to clipboard operation
pcloud-cli copied to clipboard

error in installation procedure not working with go

Open samantarya opened this issue 2 years ago • 0 comments

go get github.com/kardianos/govendor
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'.
make: *** [Makefile:27: vendor] Error 1

This is the error I get while trying to run make install with go version 1.21 because below 1.7 it was anyways not working. Did not get go via govendor as mentioned as govendor suggests the use of go modules and using the official go version from 1.14.

samantarya avatar Oct 16 '23 00:10 samantarya