Closed djiwondee closed 2 years ago
Ah sorry, esc
is from http://github.com/mjibson/esc and can be installed with go get -u github.com/mjibson/esc
Hi @brutella- seeing the same issue here. Can you help with setting the path to esc once it's been installed by go? I was expecting:
export GOPATH=$HOME/go export GOROOT=/opt/homebrew/Cellar/go/1.18.2/libexec export PATH=$PATH:$GOPATH/bin export PATH=$PATH:$GOROOT/bin
try this
go install github.com/mjibson/esc@latest
Hey @tqcenglish- I did install esc, but I'm still getting errors about "esc": executable file not found in $PATH. Not sure what the proper path should be. I reviewed several tutorials, but I'm not a go developer or using it regularly.
Since I did install my go through Homebrew, I was able to find the binary here:
/opt/homebrew/Cellar/go/1.18.2/libexec/bin/go
But, I'm not sure which var is incorrect in the Go paths:
export GOPATH=$HOME/go export GOROOT=/opt/homebrew/Cellar/go/1.18.2/libexec export PATH=$PATH:$GOPATH/bin export PATH=$PATH:$GOROOT/bin
@dfbills if you install esc success, you can find the esc bin file, and add it path to $PATH.
Hello,
I try build and run
cmd/hkcam/main.go
by runningtask hkcam
in Terminal as mentioned in README.mdThe command
task hkcam -v -t Taskfile.yml
fails withI found out the
esc
cmd is specified inTaskfile.yml
of the hkcam-repo, but I have now glue what particular path for the executableesc
needs to be added to my $PATH.Any advice appreciated. Thanks in advance!