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

Update zypper.go #2941

Merged
merged 3 commits into from Oct 21, 2023
Merged

Update zypper.go #2941

merged 3 commits into from Oct 21, 2023

Conversation

TuffenDuffen
Copy link
Contributor

Description

Fixes an issue where wails doctor does not find npm because the package is called npm20 instead of npm10 on openSUSE-Tumbleweed

Type of change

Bug fix (non-breaking change which fixes an issue)

Test

from this:



          Wails Doctor



# Wails
Version         | v2.6.0
Revision        | 53fa45890858455ebb4546e1be0c3a718e90c713
Modified        | true
Package Manager | zypper

# System
┌────────────────────────────────────┐
| OS           | openSUSE Tumbleweed |
| Version      | 20230922            |
| ID           | opensuse-tumbleweed |
| Go Version   | go1.21.1            |
| Platform     | linux               |
| Architecture | amd64               |
└────────────────────────────────────┘

# Dependencies
┌──────────────────────────────────────────────────────────────────┐
| Dependency | Package Name            | Status    | Version       |
| *docker    | docker                  | Installed | 24.0.6_ce-1.1 |
| gcc        | gcc-c++                 | Installed | 13-1.5        |
| libgtk-3   | gtk3-devel              | Installed | 3.24.38-3.1   |
| libwebkit  | webkit2gtk3-soup2-devel | Installed | 2.42.0-1.1    |
| npm        | Unknown                 | Not Found | 10.1.0        |
| pkg-config | pkgconf-pkg-config      | Installed | 1.8.0-2.5     |
└──────────────────── * - Optional Dependency ─────────────────────┘
└──────────────────── * - Optional Dependency ─────────────────────┘

# Diagnosis
 WARNING  Your system has missing dependencies!
Fatal:
Required dependencies missing: npm
Please read this article on how to resolve this: https://wails.io/guides/resolving-missing-packages

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

to this:



          Wails Doctor



# Wails
Version         | v2.6.0
Revision        | 53fa45890858455ebb4546e1be0c3a718e90c713
Modified        | true
Package Manager | zypper

# System
┌────────────────────────────────────┐
| OS           | openSUSE Tumbleweed |
| Version      | 20230922            |
| ID           | opensuse-tumbleweed |
| Go Version   | go1.21.1            |
| Platform     | linux               |
| Architecture | amd64               |
└────────────────────────────────────┘

# Dependencies
┌──────────────────────────────────────────────────────────────────┐
| Dependency | Package Name            | Status    | Version       |
| *docker    | docker                  | Installed | 24.0.6_ce-1.1 |
| gcc        | gcc-c++                 | Installed | 13-1.5        |
| libgtk-3   | gtk3-devel              | Installed | 3.24.38-3.1   |
| libwebkit  | webkit2gtk3-soup2-devel | Installed | 2.42.0-1.1    |
| npm        | npm20                   | Installed | 20.7.0-1.1    |
| pkg-config | pkgconf-pkg-config      | Installed | 1.8.0-2.5     |
└──────────────────── * - Optional Dependency ─────────────────────┘

# Diagnosis
 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

@leaanthony leaanthony merged commit a9fb071 into wailsapp:master Oct 21, 2023
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants