wails
wails copied to clipboard
does not provide an export named 'EventsOffAll'
Description
just import EventsOffAll hash syntax error, but EventsOnand other functions do not report errors
import {EventsOffAll, EventsOn, WindowReload} from "../wailsjs/runtime";
To Reproduce
When loading the app for the first time
Expected behaviour
When loading the app for the first time, EventsOffAll report error
Screenshots
No response
Attempted Fixes
No response
System Details
# Wails
Version | v2.7.1
# System
┌───────────────────────────────────────────────────────────────────────────────────┐
| OS | Windows Server 2022 Datacenter |
| Version | 2009 (Build: 20348) |
| ID | 21H2 |
| Go Version | go1.21.1 |
| Platform | windows |
| Architecture | amd64 |
| CPU | Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz |
| GPU | Microsoft 基本显示适配器 ((标准显示卡类型)) - Driver: 10.0.20348.1 |
| Memory | 32GB |
└───────────────────────────────────────────────────────────────────────────────────┘
# Dependencies
┌───────────────────────────────────────────────────────┐
| Dependency | Package Name | Status | Version |
| WebView2 | N/A | Installed | 120.0.2210.61 |
| Nodejs | N/A | Installed | 18.15.0 |
| npm | N/A | Installed | 9.5.0 |
| *upx | N/A | Installed | upx 4.0.1 |
| *nsis | N/A | Available | |
└─────────────── * - Optional Dependency ───────────────┘
# Diagnosis
Optional package(s) installation details:
- nsis : More info at https://wails.io/docs/guides/windows-installer/
SUCCESS Your system is ready for Wails development!
♥ If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
Additional context
No response