Description
When I execute wails init and follow the prompts, it fails. See below for output.
To Reproduce
Steps to reproduce the behaviour:
wails initjoneric.cook@Work-MacBook-Pro demo % wails init
Wails v0.19.0 - Initialising project
The name of the project (My Project):
Project Name: My Project
The output binary name (my-project):
Output binary Name: my-project
Project directory name (my-project):
Project Directory: my-project
Please select a template:
1: Angular - Angular 8 template (Requires node 10.8+)
2: React JS - Create React App v3 template
3: Vue2/Webpack Basic - A basic Vue2/WebPack4 template
4: Vuetify Basic - Vuetify + Webpack
Please choose an option [1]: 4
Template: Vuetify Basic
✓ Generating project...
⣽ Building project (this may take a while)...
Wails v0.19.0 - Building Application
✓ Ensuring frontend dependencies are up to date (This may take a while)
✓ Building frontend...
⣟ Ensuring Dependencies are up to date...# github.com/wailsapp/wails/lib/renderer/webview
../../go/pkg/mod/github.com/wailsapp/[email protected]/lib/renderer/webview/webview.go:22:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
^~~~~~~~~~
1 error generated.
✗ Ensuring Dependencies are up to date...
Error: exit status 2
✗ exit status 2
Error: exit status 2
Expected behaviour
I expected wails init to create the skeleton for a wails app.
System Details
OSX 10.15.1 (19B88)
GO 1.13.4 darwin/amd64
✓ Generating project...
⣷ Building project (this may take a while)...
Wails v0.20.0-pre1 - Building Application
✓ Ensuring frontend dependencies are up to date (This may take a while)
✓ Building frontend...
⣽ Ensuring Dependencies are up to date...go: downloading github.com/syossan27/tebata v0.0.0-20180602121909-b283fe4bc5ba
go: downloading github.com/abadojack/whatlanggo v1.0.1
go: extracting github.com/syossan27/tebata v0.0.0-20180602121909-b283fe4bc5ba
go: extracting github.com/abadojack/whatlanggo v1.0.1
go: finding github.com/syossan27/tebata v0.0.0-20180602121909-b283fe4bc5ba
go: finding github.com/abadojack/whatlanggo v1.0.1
# github.com/wailsapp/wails
../../go/pkg/mod/github.com/wailsapp/[email protected]/app.go:85:20: undefined: syscall.NewLazyDLL
✗ Ensuring Dependencies are up to date...
Error: exit status 2
✗ exit status 2
Error: exit status 2
Looks like those syscalls are OS specific? Well that sucks. I'll need to
fix it with windows specific build tags 🤨
On Thu, 28 Nov 2019, 13:39 Byron, notifications@github.com wrote:
✓ Generating project...
⣷ Building project (this may take a while)...
Wails v0.20.0-pre1 - Building Application
✓ Ensuring frontend dependencies are up to date (This may take a while)
✓ Building frontend...
⣽ Ensuring Dependencies are up to date...go: downloading github.com/syossan27/tebata v0.0.0-20180602121909-b283fe4bc5ba
go: downloading github.com/abadojack/whatlanggo v1.0.1
go: extracting github.com/syossan27/tebata v0.0.0-20180602121909-b283fe4bc5ba
go: extracting github.com/abadojack/whatlanggo v1.0.1
go: finding github.com/syossan27/tebata v0.0.0-20180602121909-b283fe4bc5ba
go: finding github.com/abadojack/whatlanggo v1.0.1
github.com/wailsapp/wails
../../go/pkg/mod/github.com/wailsapp/[email protected]/app.go:85:20: undefined: syscall.NewLazyDLL
✗ Ensuring Dependencies are up to date...
Error: exit status 2
✗ exit status 2
Error: exit status 2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wailsapp/wails/issues/300?email_source=notifications&email_token=AAO2SYHPX57TK7HKSPHKVMTQV4VO5A5CNFSM4JSNJCQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFLIHCA#issuecomment-559317896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAO2SYHUTYF5HHR4H4N26FTQV4VO5ANCNFSM4JSNJCQA
.
This is now fixed in the latest pre-release. Update using wails update -pre
I did a complete OSX reinstall and the problem was fixed.
On Thu, Nov 28, 2019 at 2:54 AM Lea Anthony notifications@github.com
wrote:
Looks like those syscalls are OS specific? Well that sucks. I'll need to
fix it with windows specific build tags 🤨On Thu, 28 Nov 2019, 13:39 Byron, notifications@github.com wrote:
✓ Generating project...
⣷ Building project (this may take a while)...
Wails v0.20.0-pre1 - Building Application
✓ Ensuring frontend dependencies are up to date (This may take a while)
✓ Building frontend...
⣽ Ensuring Dependencies are up to date...go: downloading
github.com/syossan27/tebata v0.0.0-20180602121909-b283fe4bc5bago: downloading github.com/abadojack/whatlanggo v1.0.1
go: extracting github.com/syossan27/tebata
v0.0.0-20180602121909-b283fe4bc5bago: extracting github.com/abadojack/whatlanggo v1.0.1
go: finding github.com/syossan27/tebata
v0.0.0-20180602121909-b283fe4bc5bago: finding github.com/abadojack/whatlanggo v1.0.1
github.com/wailsapp/wails
../../go/pkg/mod/github.com/wailsapp/[email protected]/app.go:85:20:
undefined: syscall.NewLazyDLL✗ Ensuring Dependencies are up to date...
Error: exit status 2
✗ exit status 2
Error: exit status 2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/wailsapp/wails/issues/300?email_source=notifications&email_token=AAO2SYHPX57TK7HKSPHKVMTQV4VO5A5CNFSM4JSNJCQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFLIHCA#issuecomment-559317896
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAO2SYHUTYF5HHR4H4N26FTQV4VO5ANCNFSM4JSNJCQA.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wailsapp/wails/issues/300?email_source=notifications&email_token=AEZ45TMDPVRIWOX44JIASW3QV6POLA5CNFSM4JSNJCQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFMHNCA#issuecomment-559445640,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEZ45TIPLGRKIVHTKOSHSVTQV6POLANCNFSM4JSNJCQA
.
Thanks for letting us know @jonericcook and if you need any Wails support, please feel free to open a new ticket :+1:
Most helpful comment
This is now fixed in the latest pre-release. Update using
wails update -pre