Skip to content

Attempting to upgrade aws-lambda-go version in a project with go.mod fails #222

Closed
@alex

Description

@alex
Contributor
alex@penguin /t/x> cat go.mod 
module foo

go 1.12

require github.com/aws/aws-lambda-go v1.8.1
alex@penguin /t/x> go get -u github.com/aws/aws-lambda-go
go: gopkg.in/urfave/cli.v1@v1.21.0: go.mod has non-....v1 module path "github.com/urfave/cli" at revision v1.21.0
go get: error loading module requirements

Activity

added a commit that references this issue on Aug 6, 2019

Fixes aws#222 -- update dependency URL for the cli package

addcbb4
michael-mwp

michael-mwp commented on Aug 6, 2019

@michael-mwp

I've just hit this issue. @alex thanks for creating a PR so quickly!

ckeyes88

ckeyes88 commented on Aug 6, 2019

@ckeyes88

As a work around until #223 gets resolved you can use the Go module replace directive to specify the correct package...

gopkg.in/urfave/cli.v1 => github.com/urfave/cli v1.21.0

bmoffatt

bmoffatt commented on Aug 7, 2019

@bmoffatt
Collaborator

released #223 with v1.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @alex@bmoffatt@michael-mwp@ckeyes88

        Issue actions

          Attempting to upgrade aws-lambda-go version in a project with go.mod fails · Issue #222 · aws/aws-lambda-go