You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this replace directive works in dev but not in prod. How can I ignore certain replace directives when running go install in prod? I want the replace directive to be ignored.
The error shows up as follows:
Step 27/43 : RUN go install -v 2>&1
---> Running in 1d1717578978
go: github.com/channelmeter/send-to-rollbar-via-stdin@v0.0.0-20200922010219-c39f088cd56d: parsing ../send-to-rollbar-via-stdin/go.mod: open /go/src/github.com/channelmeter/send-to-rollbar-via-stdin/go.mod: no such file or directory
The command '/bin/sh -c go install -v 2>&1' returned a non-zero code: 1
What version of Go are you using (go version)?
go version go1.14.4 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
Problem
My go.mod file has:
this replace directive works in dev but not in prod. How can I ignore certain replace directives when running go install in prod? I want the replace directive to be ignored.
The error shows up as follows:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?Ubuntu Linux 64 bit
go env
OutputWhat did you do?
I ran go install in prod, which breaks since prod fs in a docker container is not like my local fs.
The text was updated successfully, but these errors were encountered: