Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Error at install "go build github.com/google/skylark/cmd/skylark" repl.go:33:2: cannot find package "github.com/chzyer/readline" in any of #103

Closed
SaintNazaire opened this issue Apr 26, 2018 · 1 comment

Comments

@SaintNazaire
Copy link

OS Platform and Distribution

  • Windows 10 professional
  • Docker image based on Ubuntu:16.04.4 LTS (xenial)
  • Docker 18.03.0-ce-win59

Go install procedure

curl https://dl.google.com/go/go1.10.1.linux-amd64.tar.gz -o /go1.10.1.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.10.1.linux-amd64.tar.gz && rm go1.10.1.linux-amd64.tar.gz
export PATH = $PATH:/usr/local/go/bin

Exact command to reproduce

go get github.com/google/skylark
go build github.com/google/skylark/cmd/skylark

triggers the following

Error message

root/go/src/github.com/google/skylark/repl/repl.go:33:2: cannot find package "github.com/chzyer/readline" in any of:
/usr/local/go/src/github.com/chzyer/readline (from $GOROOT)
/root/go/src/github.com/chzyer/readline (from $GOPATH)

@alandonovan
Copy link
Contributor

Thanks for the report. Now that we have an external dependency, we have to get exactly what we build, so the updated command is: go get github.com/google/skylark...

Doc updated by 06804d9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants