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

Examples from docs are all broken #3685

Open
umurpza opened this issue Aug 16, 2024 · 3 comments
Open

Examples from docs are all broken #3685

umurpza opened this issue Aug 16, 2024 · 3 comments
Labels
Bug Something isn't working

Comments

@umurpza
Copy link

umurpza commented Aug 16, 2024

Description

The UI's for all of the examples in the following project that is referenced in the docs are broken. All I see is a flickering UI, and a lot of the following warnings in the console. I do not have the same issue in the project I created myself.

DEB | [AssetHandler] File 'src/style.css' not found, serving '/src/style.css' by AssetHandler

Docs link: https://wails.io/docs/tutorials/dogsapi/
Examples Link: https://github.com/tataDan/wails-v2-examples/tree/main

To Reproduce

  1. Download https://github.com/tataDan/wails-v2-examples/tree/main/examples/dogs-api
  2. Run wails dev
  3. Wait for the app to load and see the flickering, broken UI.

Expected behaviour

The UI should be usable.

Screenshots

No response

Attempted Fixes

No response

System Details

umurpza@V0Q4MD6 simple-grep % wails doctor

                                
          Wails Doctor          
                                

                                                                                                                                                                  
# Wails
Version | v2.9.1

# System
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| OS           | MacOS                                                                                                                                                                                                                             |
| Version      | 14.6.1                                                                                                                                                                                                                            |
| ID           | 23G93                                                                                                                                                                                                                             |
| Go Version   | go1.22.4                                                                                                                                                                                                                          |
| Platform     | darwin                                                                                                                                                                                                                            |
| Architecture | amd64                                                                                                                                                                                                                             |
| CPU          | Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz                                                                                                                                                                                         |
| GPU          | Chipset Model: Intel UHD Graphics 630 Type: GPU Bus: Built-In VRAM (Dynamic, Max): 1536 MB Vendor: Intel Device ID: 0x3e9b Revision ID: 0x0002 Automatic Graphics Switching: Supported gMux Version: 5.0.0 Metal Support: Metal 3 |
| Memory       | 32GB                                                                                                                                                                                                                              |
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌────────────────────────────────────────────────────────────────┐
| Dependency                | Package Name | Status    | Version |
| Xcode command line tools  | N/A          | Installed | 2408    |
| Nodejs                    | N/A          | Installed | 20.12.2 |
| npm                       | N/A          | Installed | 10.8.1  |
| *Xcode                    | N/A          | Available |         |
| *upx                      | N/A          | Available |         |
| *nsis                     | N/A          | Available |         |
└─────────────────── * - Optional Dependency ────────────────────┘

# Diagnosis
Optional package(s) installation details: 
  - Xcode: Available at https://apps.apple.com/us/app/xcode/id497799835
  - 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
umurpza@V0Q4MD6 simple-grep %

Additional context

No response

@umurpza umurpza added the Bug Something isn't working label Aug 16, 2024
@leaanthony
Copy link
Member

I would suggest reporting it on the tutorial repo 👍

@umurpza
Copy link
Author

umurpza commented Aug 21, 2024

Link to example repo issue: tataDan/wails-v2-examples#3

@leaanthony
Copy link
Member

I would suggest reporting it on the tutorial repo 👍

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