wails: Windows build hangs forever on startup

Description

Uses wails to generate an emtpy project (hello world) and build on windows,i didn’t see anything show up after running it. Instead there are sevaral Microsoft Edge WebView2 processes hangs.

To Reproduce

  1. init the project C:\Go>wails init -n myproject -t vue-ts Wails CLI v2.2.0

Initialising Project ‘myproject’

Project Name: myproject Project Directory: C:\Go\myproject Project Template: vue-ts Template Support: https://wails.io

Initialised project ‘myproject’ in 1.65s.

If Wails is useful to you or your company, please consider sponsoring the project: https://github.com/sponsors/leaanthony

  1. build it C:\Go\myproject>wails build -debug -clean Wails CLI v2.2.0

App Type: desktop Platforms: windows/amd64 Compiler: C:\Program Files\Go\bin\go.exe Skip Bindings: false Build Mode: Debug Frontend Directory: C:\Go\myproject\frontend Obfuscated: false Skip Frontend: false Compress: false Package: true Clean Bin Dir: true LDFlags: “” Tags: [] Race Detector: false

Building target: windows/amd64

  • Generating bindings: Done.
  • Installing frontend dependencies: Done.
  • Compiling frontend: Done.
  • Generating bundle assets: Done.
  • Compiling application: Done.
  • An experimental Go native WebView2Loader is available. We would love to hear your feedback about it and invite you to test it by building with -tags exp_gowebview2loader Built ‘C:\Go\myproject\build\bin\myproject.exe’ in 57.594s.

If Wails is useful to you or your company, please consider sponsoring the project: https://github.com/sponsors/leaanthony

  1. run it C:\Go\myproject>C:\Go\myproject\build\bin\myproject.exe

Expected behaviour

The gui will show up and see the wails Logo as on mac

Screenshots

13cd7b13-d1fa-4c43-a9b5-00039e2d9201

Attempted Fixes

No response

System Details

System
------
OS:             Windows 10 Pro
Version:        2009 (Build: 19044)
ID:             21H2
Go Version:     go1.19.3
Platform:       windows
Architecture:   amd64

Wails
------
Version:        v2.2.0

Dependency      Package Name    Status          Version
----------      ------------    ------          -------
WebView2        N/A             Installed       107.0.1418.56
npm             N/A             Installed       8.19.2
*upx            N/A             Installed       upx 4.0.1
*nsis           N/A             Installed       v3.08

* - Optional Dependency

Diagnosis
---------
Your system is ready for Wails development!

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (1 by maintainers)

Most upvoted comments

Works on another Windows 10 Home, fails on Windows 10 Pro

I installed varlyapp(a showcase in wails.io) and get the same result.