Comments (5)
I added
SET GO111MODULE=on
And works perfect for me
Thank you!
from wails.
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.
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.
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.
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)
- Wails v2.8.0 Windows bottom edge and right edge off by 1px
- Is there any way for applications built with wails to support windows7? HOT 2
- window.runtime should be available to files other than index.html HOT 3
- when will wails v3 stable version be released? HOT 1
- Is it possible to add a "runtime.Restart()" api
- Template Document 404
- EventsEmit cannot handle file types, Can you add a file type
- How to detect WebView back and forward events?
- Please add Goland support HOT 1
- It hangs forever after import "wmi" package HOT 3
- Error: flag provided but not defined: -nopackage HOT 2
- Wails app crash when Frameless attribute is use in two apps in a row on Linux HOT 1
- Cannot pass a string to createFrom on field with type "any"
- Wails 2.8.1 dev error on browser
- Wails build creating invalid folders based on embed file selections. Then failing. HOT 7
- Removing my templates
- Wails Dev Fails with option -r not recognized HOT 2
- Slice of array causes `wails generate module` to fail
- build arm64 in linux error HOT 2
- atomicgo.dev is not reach anymore, so can´t install wails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wails.