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

fail to build 2.9.2 on sdk 1.24rc1 @ubuntu 24.04 #3980

Open
mediawall opened this issue Jan 3, 2025 · 3 comments
Open

fail to build 2.9.2 on sdk 1.24rc1 @ubuntu 24.04 #3980

mediawall opened this issue Jan 3, 2025 · 3 comments
Labels
Bug Something isn't working

Comments

@mediawall
Copy link

Description

get error message:

Wails CLI v2.9.2

Executing: go mod tidy
2025/01/03 09:09:46 internal error: package "context" without types was imported from "test2"

To Reproduce

wails init -n test2 -t vue
cd test2
wails dev

Expected behaviour

expected to run

Screenshots

No response

Attempted Fixes

No response

System Details

# Wails
Version         | v2.9.2
Package Manager | apt   

# System
┌──────────────────────────────────────────────────────────────────────────────────┐
| OS           | Ubuntu                                                            |
| Version      | 24.04                                                             |
| ID           | ubuntu                                                            |
| Go Version   | go1.23.2                                                          |
| Platform     | linux                                                             |
| Architecture | amd64                                                             |
| CPU          | Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz                          |
| GPU 1        | Unknown                                                           |
| GPU 2        | GP102 [GeForce GTX 1080 Ti] (NVIDIA Corporation) - Driver: nvidia |
| Memory       | 98GB                                                              |
└──────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌────────────────────────────────────────────────────────────────────┐
| Dependency | Package Name    | Status    | Version                 |
| *docker    | docker.io       | Available | 26.1.3-0ubuntu1~24.04.1 |
| gcc        | build-essential | Installed | 13.3.0                  |
| libgtk-3   | libgtk-3-dev    | Available | 3.24.41-4ubuntu1.2      |
| libwebkit  | Unknown         | Not Found |                         |
| npm        | npm             | Installed | 9.2.0~ds1-2             |
| *nsis      | nsis            | Installed | v3.09-4                 |
| pkg-config | pkg-config      | Installed | 1.8.1                   |
└───────────────────── * - Optional Dependency ──────────────────────┘

# Diagnosis
Required package(s) installation details: 
  - libgtk-3: sudo apt install libgtk-3-dev
  - libwebkit: sudo apt install libwebkit2gtk-4.0-dev

Additional context

No response

@mediawall mediawall added the Bug Something isn't working label Jan 3, 2025
@mediawall
Copy link
Author

test on ubuntu 22.04, same issue

@leaanthony
Copy link
Member

Looking at the message you posted, you haven't installed the required dependencies

@mediawall
Copy link
Author

Looking at the message you posted, you haven't installed the required dependencies

with sdk 1.23.4 and tag, I could run the demo project. (refer to #3581)

wails dev -tags webkit2_41

but fails on 1.24rc1.

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

2 participants