Skip to content

[v2] template.js report null issue #6061

Description

@mediawall

Wails version family

v2

Exact Wails version

v2.15.0

Operating System

Multiple / Other

Description

create clean project with cmd

wails init -n t2 -t vue
wails dev -tags webkit2_41

open chrome console on page http://localhost:34115
and see the error

Image

To Reproduce

wails init -n t2 -t vue
wails dev -tags webkit2_41

Expected behaviour

no error in console

Screenshots

No response

Attempted Fixes

No response

System Details

# Wails
┌───────────────────────────┐
| Version         | v2.15.0 |
| Package Manager | apt     |
└───────────────────────────┘

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

# Dependencies
┌───────────────────────────────────────────────────────────────┐
| Dependency | Package Name    | Status    | Version            |
| *docker    | docker.io       | Installed | 29.7.2             |
| gcc        | build-essential | Installed | 12.10ubuntu1       |
| libgtk-3   | libgtk-3-dev    | Available | 3.24.41-4ubuntu1.3 |
| libwebkit  | Unknown         | Not Found |                    |
| npm        | npm             | Installed | 11.19.0            |
| *nsis      | nsis            | Installed | v3.09-4            |
| pkg-config | pkg-config      | Installed | 1.8.1-2build1      |
|                                                               |
└─────────────────── * - Optional Dependency ───────────────────┘

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions