wails
wails copied to clipboard
UI only displays a white background
Description
wails dev Normal operation wails build UI only displays a white background
wails build DEB | Using go webview2loader Wails CLI v2.6.0
Build Options
Platform(s) | windows/amd64 Compiler | D:\MyOffice\SDK\go\bin\go.exe Skip Bindings | false Build Mode | production Devtools | false Frontend Directory | D:\MyOffice\Works\manualPackaging\client\frontend Obfuscated | false Skip Frontend | false Compress | false Package | true Clean Bin Dir | false LDFlags | Tags | [] Race Detector | false
Building target: windows/amd64
• Generating bindings: 2023/10/13 10:16:08
Done.
• Installing frontend dependencies: Done.
• Compiling frontend: Done.
• Generating application assets: Done.
• Compiling application: Done.
INFO Wails is now using the new Go WebView2Loader. If you encounter any issues with it, please report them to https://github.com/wailsapp/wails/issues/2004. You could also use the old legacy loader with -tags native_webview2loader, but keep in mind this will be deprecated in the near future.
Built 'D:\MyOffice\Works\manualPackaging\client\build\bin\bbpl.exe' in 25.459s.
To Reproduce
After build , it cannot be displayed at all
Expected behaviour
Expected to be consistent with the results of debugging mode operation
Screenshots
No response
Attempted Fixes
No response
System Details
$ wails doctor
DEB | Using go webview2loader
Wails Doctor
# Wails
Version | v2.6.0
# System
┌────────────────────────────────────┐
| OS | Windows 10 Pro |
| Version | 2009 (Build: 25951) |
| ID | 23H2 |
| Go Version | go1.19.1 |
| Platform | windows |
| Architecture | amd64 |
└────────────────────────────────────┘
# Dependencies
┌───────────────────────────────────────────────────────┐
| Dependency | Package Name | Status | Version |
| WebView2 | N/A | Installed | 117.0.2045.60 |
| Nodejs | N/A | Installed | 18.18.0 |
| npm | N/A | Installed | 10.1.0 |
| *upx | N/A | Available | |
| *nsis | N/A | Available | |
└─────────────── * - Optional Dependency ───────────────┘
# Diagnosis
Optional package(s) installation details:
- upx : Available at https://upx.github.io/
- nsis : More info at https://wails.io/docs/guides/windows-installer/
SUCCESS Your system is ready for Wails development!
Additional context
No response
This could be any number of things. What have you done to debug it?