Error when running on localhost
Description
runtime-core.esm-bundler.js:2957 Uncaught TypeError: Cannot read properties of null (reading 'isCE')
it works on 127.0.0.1 or wails.localhost but in just localhost doesn't
To Reproduce
Go to http://localhost:34115
Expected behaviour
It was working on 2.8.0
Screenshots
No response
Attempted Fixes
Change localhost to wails.localhost in CLI output please, it looks better, it's something "special" for your framework
System Details
Wails Doctor
# Wails
Version | v2.8.2
# System
┌────────────────────────────────────────────────────────────────────────┐
| OS | Windows 10 Home |
| Version | 2009 (Build: 19045) |
| ID | 22H2 |
| Go Version | go1.22.2 |
| Platform | windows |
| Architecture | amd64 |
| CPU | AMD Ryzen 5 2600 Six-Core Processor |
| GPU | NVIDIA GeForce GTX 1050 (NVIDIA) - Driver: 31.0.15.5244 |
| Memory | 8GB |
└────────────────────────────────────────────────────────────────────────┘
# Dependencies
┌───────────────────────────────────────────────────────┐
| Dependency | Package Name | Status | Version |
| WebView2 | N/A | Installed | 124.0.2478.80 |
| Nodejs | N/A | Installed | 21.5.0 |
| npm | N/A | Installed | 10.6.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!
♥ If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony
Additional context
No response
Is the issue related to Vue? https://stackoverflow.com/questions/71063992/when-importing-self-made-vue-3-library-into-vue-3-project-uncaught-typeerror
Is the issue related to Vue? https://stackoverflow.com/questions/71063992/when-importing-self-made-vue-3-library-into-vue-3-project-uncaught-typeerror
It worked with previous versions, also, I only have custom components
Do you have vue install multiple times? If so, make it a devDependency especially if this is monorepo/contains component library(s).
If vue is a dependency and not a devDependency it will try to get bundled rather than compiling your code.
Do you have vue install multiple times? If so, make it a
devDependencyespecially if this is monorepo/contains component library(s).If vue is a
dependencyand not adevDependencyit will try to get bundled rather than compiling your code.
Making vue a devDependency didn't fix the issue, it was working on 2.8.0, it should be a wails issue then...