Skip to content

go: modules disabled by GO111MODULE=off; see 'go help modules' #94

@benoitschipper

Description

@benoitschipper

Hey Boot.Dev,

When following step 2 upon installing the boot.dev CLI on my Macbook i ran into the following error when running the go install command:

go install github.com/bootdotdev/bootdev@latest
go: modules disabled by GO111MODULE=off; see 'go help modules

Upon running the go env GO111MODULE command I found out it was disabled. I then ran export GO111MODULE=on and reran the command to install. And it solved the problem. This most likely has to do with the fact that I was in $HOME and not in something like /user/local/bin . Still it might throw some people off, perhaps it is good to add something about this to the "Optional troubleshooting:" part of the REAMDE

Thanks,

Benoit

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

    Issue actions