GithubHelp home page GithubHelp logo

Comments (4)

wizzymore avatar wizzymore commented on June 9, 2024

I think you missed this step:
image

Also about /usr/local/go not being there, the tutorial is based on the recommended go installation, which if you do as in the documentation you will find the go executable there.

from wails.

stffabi avatar stffabi commented on June 9, 2024

Thanks for reporting this and using Wails

As already mentioned the docs are based on the official 'Go Installation instructions', and it's also stated that one needs to ensure that ~/go/bin is in PATH.

wails command should be available/found at /usr/local/go, as mentioned in https://wails.io/docs/gettingstarted/installation but that seems to be incorrect.

I could not find the section where this is mentioned. ~ means your home directory so ~/go/bin is basically for macOS /Users/USERNAME/go/bin/.

from wails.

iocron avatar iocron commented on June 9, 2024

I could not find the section where this is mentioned. ~ means your home directory so ~/go/bin is basically for macOS /Users/USERNAME/go/bin/.

Something seems weird, have the docs been updated (in this case the current wails docs page seems correct)? Last time I checked the wails docs mentioned /usr/local/go or maybe I mixed up something.

Usually many macOS Users prefer installing packages by using the package manager "brew" instead of manual installation steps (official Go installation instructions), maybe this can be mentioned in the docs if it makes sense.

P.S. I just used the full path (/Users/USERNAME/...) for clarity and because the tilde variable expansion does not always work in all cases.

from wails.

leaanthony avatar leaanthony commented on June 9, 2024

It doesn't matter how you install Go, you will need to put Go's bin directory on your path or else you can't run anything you install via go install.

On my system, that's $GOPATH/bin.

from wails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.