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

WebView2 installation succeeded, but the wails doctor command shows that it is not installed #2917

Closed
sclang007 opened this issue Sep 16, 2023 · 5 comments
Labels
Bug Something isn't working

Comments

@sclang007
Copy link

Description

WebView2 runtime, after successful installation, the 'wails doctor' command displays' Available '

To Reproduce

Wails did not provide specific feedback on the reason

Expected behaviour

The result should be Installed

Screenshots

1
2

Attempted Fixes

No response

System Details

DEB | Using go webview2loader


          Wails Doctor



# Wails
Version | v2.6.0

# System
┌────────────────────────────────────────────────┐
| OS           | Windows 10 Pro for Workstations |
| Version      | 2009 (Build: 19044)             |
| ID           | 21H2                            |
| Go Version   | go1.21.1                        |
| Platform     | windows                         |
| Architecture | amd64                           |
└────────────────────────────────────────────────┘

# Dependencies
┌─────────────────────────────────────────────────┐
| Dependency | Package Name | Status    | Version |
| WebView2   | N/A          | Available |         |
| Nodejs     | N/A          | Installed | 18.17.1 |
| npm        | N/A          | Installed | 9.6.7   |
| *upx       | N/A          | Available |         |
| *nsis      | N/A          | Available |         |
└──────────── * - Optional Dependency ────────────┘

# Diagnosis
Required package(s) installation details:
  - WebView2 : Available at https://developer.microsoft.com/en-us/microsoft-edge/webview2/

Optional package(s) installation details:
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/

 WARNING  Your system has missing dependencies!

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

Additional context

No response

@sclang007 sclang007 added the Bug Something isn't working label Sep 16, 2023
@leaanthony
Copy link
Member

Installed as admin or user?

@stffabi
Copy link
Collaborator

stffabi commented Sep 17, 2023

I saw cases where the wrong architecture was being installed, e.g. x86 only on amd64. The installation of the runtime succeeds but it can't be used because arch is wrong. So maybe that's something to be checked in your case.

@sclang007
Copy link
Author

Thank you! It has been resolved and the amd64 version of WebView2 has been re downloaded. It now displays Installed
2
1

@stffabi
Copy link
Collaborator

stffabi commented Sep 18, 2023

Great that you could solve this issue. We could probably try to give some more information in Wails doctor and detect e.g. inconsistent installed architectures.

I'm going to close this issue, feel free to reopen it if you see any further problem with WebView2 detection.

@stffabi stffabi closed this as completed Sep 18, 2023
@leaanthony
Copy link
Member

leaanthony commented Sep 18, 2023

Added a section to the troubleshooting guide in 64e44b1

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