Thanks for the reply,
I ran go get -v -u github.com/golang/dep/cmd/dep
, and it executed without errors.
However running make
on the tutorial repo resulted in the same error message
dep ensure -v
make: dep: Command not found
Makefile:2: recipe for target 'build' failed
make: *** [build] Error 127
The Makefile (which is untouched) is as follows:
build:
dep ensure -v
env GOOS=linux go build -ldflags="-s -w" -o bin/hello hello/main.go
env GOOS=linux go build -ldflags="-s -w" -o bin/world world/main.go
.PHONY: clean
clean:
rm -rf ./bin ./vendor Gopkg.lock
.PHONY: deploy
deploy: clean build
sls deploy --verbose
Could you also clarify on the following?
I assume you meant running make
on the tutorial repo but just wanted to double check.
It appears that dep is still not installed. Running dep status
returns
dep: command not found
I ran both go get -v -u github.com/golang/dep/
and go get -v -u github.com/golang/dep/cmd/dep
again but neither had any output.
All this is running inside a Ubuntu 16.04 LTS VirtualBox btw.