Skip to content

Wails v3 CLI project scaffold with react does not yields broken Taskfile.yml #5615

Description

@its-ernest

Description

I tried initiating a project today with React(JSX).
The scaffold had an issue. The Taskfile.yml was broken(probably unupdated). I had to explore theh DOCS to copy and paste a default one

To Reproduce

  1. wails3 init -n example -t react
  2. Then try running the example: wails3 dev

Expected behaviour

Build fails with Taskfile reporting that build instructions are broken

Screenshots

No response

Attempted Fixes

I explored the DOCS to copy and replace mine with a working Taskfile

System Details

wails3 doctor
Wails v3.0.0-alpha2.103 › Wails Doctor
                                                                                                              
# System
        
┌────────────────────────────────────────────────────────────────────────┐
| Name                | EndeavourOS                                      |
| Version             | Unknown                                          |
| ID                  | endeavouros                                      |
| Branding            |                                                  |
| Platform            | linux                                            |
| Architecture        | amd64                                            |
| Desktop Environment | KDE                                              |
| NVIDIA Driver       | N/A                                              |
| XDG_SESSION_TYPE    | wayland                                          |
| CPU                 | 13th Gen Intel(R) Core(TM) i3-1315U              |
| GPU                 | Raptor Lake-P [UHD Graphics] (Intel Corporation) |
| Memory              | 7GB                                              |
└────────────────────────────────────────────────────────────────────────┘
                   
# Build Environment
                   
┌──────────────────────────────────────────────────────────────────────┐
| Wails CLI      | v3.0.0-alpha2.103                                   |
| Go Version     | go1.26.3-X:nodwarf5                                 |
| -buildmode     | exe                                                 |
| -compiler      | gc                                                  |
| CGO_CFLAGS     |                                                     |
| CGO_CPPFLAGS   |                                                     |
| CGO_CXXFLAGS   |                                                     |
| CGO_ENABLED    | 1                                                   |
| CGO_LDFLAGS    |                                                     |
| DefaultGODEBUG | cryptocustomrand=1,tlssecpmlkem=0,urlstrictcolons=0 |
| GOAMD64        | v1                                                  |
| GOARCH         | amd64                                               |
| GOEXPERIMENT   | nodwarf5                                            |
| GOOS           | linux                                               |
└──────────────────────────────────────────────────────────────────────┘
              
# Dependencies
              
┌──────────────────────────────────────────────────────────────────────────────────────────────┐
| *Android NDK            | /home/arch/Android/Sdk/ndk/30.0.14904198                           |
| *Android SDK            | /home/arch/Android/Sdk                                             |
| *Android platform-tools | Installed                                                          |
| *Java (Android)         | openjdk version "17.0.19" 2026-04-21                               |
| gcc                     | 16.1.1+r12+g301eb08fa2c5-1                                         |
| gtk3 (legacy)           | 1:3.24.52-1                                                        |
| gtk4                    | 1:4.22.4-1                                                         |
| npm                     | 11.14.1                                                            |
| pkg-config              | 2.5.1-1                                                            |
| webkit2gtk (legacy)     | 2.52.3-1                                                           |
| webkitgtk-6.0           | 2.52.3-1                                                           |
| docker                  | *Docker version 29.4.3, build 055a478ea9 (cross-compilation ready) |
|                                                                                              |
└────────────────────────────────── * - Optional Dependency ───────────────────────────────────┘
         
# Signing
         
┌────────────────────────────────────────┐
| macOS Signing   | Not configured       |
| Windows Signing | Not configured       |
| Linux Signing   | Not configured (GPG) |
└────────────────────────────────────────┘
                     
# Checking for issues
                     
 SUCCESS  No issues found
           
# Diagnosis
           
 SUCCESS  Your system is ready for Wails development!

Need documentation? Run: wails3 docs
 ♥   If Wails is useful to you or your company, please consider sponsoring the project: wails3 sponsor
[zsh@arch] (~) %

Additional context

This one is critical for UX

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions