Giter VIP home page Giter VIP logo

Comments (5)

yosefbenshimon avatar yosefbenshimon commented on May 19, 2024 3

I added
SET GO111MODULE=on
And works perfect for me
Thank you!

from wails.

k4ml avatar k4ml commented on May 19, 2024

Having this same issue on osx 10.11.6:-

go get github.com/wailsapp/wails/cmd/wails
# github.com/wailsapp/wails/cmd
go/src/github.com/wailsapp/wails/cmd/templates.go:50:18: too many arguments in call to entries.AddSlice
	have ([]string, error)
	want ([]string)
go/src/github.com/wailsapp/wails/cmd/templates.go:105:28: too many arguments in call to templateFilenames.AddSlice
	have ([]string, error)
	want ([]string)
11:09:33 ~$ go version
go version go1.11.1 darwin/amd64

from wails.

leaanthony avatar leaanthony commented on May 19, 2024

Hi. This happens when you don't have your GO111MODULE environment variable set. I've improved the docs to make this more explicit.

It shouldn't do what it's doing however that code has already been rewritten and is almost ready for release. In fact, it may be out today.

from wails.

k4ml avatar k4ml commented on May 19, 2024

That strange as if I added GO111MODULE=on I will bump into this issue and the recommendation there is to turn off GO111MODULE=on.

11:09:33 ~$ go version
go version go1.11.1 darwin/amd64
05:00:37 ~$ export GO111MODULE=on
05:00:42 ~$ go get github.com/wailsapp/wails/cmd/wails
go: cannot find main module; see 'go help modules'

from wails.

leaanthony avatar leaanthony commented on May 19, 2024

Interesting. You could just use go 1.12. That being said, the issue above should be fixed now. Let me know!

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.