Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running on localhost #3470

Open
lorypelli opened this issue May 10, 2024 · 4 comments
Open

Error when running on localhost #3470

lorypelli opened this issue May 10, 2024 · 4 comments
Labels
Bug Something isn't working

Comments

@lorypelli
Copy link

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

@lorypelli lorypelli added the Bug Something isn't working label May 10, 2024
@leaanthony
Copy link
Member

@lorypelli
Copy link
Author

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

@mateothegreat
Copy link
Contributor

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.

@lorypelli
Copy link
Author

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.

Making vue a devDependency didn't fix the issue, it was working on 2.8.0, it should be a wails issue then...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants