#5546·wails

in linux arm64,wails dev fail

Author: victory-zzCreated Jun 6, 2026Updated Sep 9, 2026
LabelsBugawaiting feedbackv3

Description

in linux arm64,wails dev fail

To Reproduce

joyue@joyue-pc:/data/usershare/code/robothelper$ wails dev Wails CLI v2.5.1

Executing: go mod tidy • Generating bindings:

ERROR
package joyue.com/aego/robothelper imports joyue.com/aego/robothelper/backend/helper/control imports joyue.com/aego/robothelper/backend/helper/services imports joyue.com/aego/robothelper/backend/helper/app imports joyue.com/aego/robothelper/backend/pkg/types imports joyue.com/aego/robothelper/backend/pkg/utils imports golang.org/x/sys/windows/registry: build constraints exclude all Go files in /home/joyue/go/pkg/mod/golang.org/x/[email protected]/windows/registry backend/helper/sqlmapper/sqlmapper.go:8:12: pattern mysql/: cannot embed directory mysql/: invalid name * backend/helper/urlmapper/urlmapper.go:8:12: pattern *.json: cannot embed directory *.json: invalid name *.json

      exit status 1

♥ If Wails is useful to you or your company, please consider sponsoring the project: https://github.com/sponsors/leaanthony joyue@joyue-pc:/data/usershare/code/robothelper$

why,wails dev auto generates /.json folders. Image

Expected behaviour

in linux arm64,expect wails dev to compile successfully

Screenshots

No response

Attempted Fixes

No response

System Details

bash
wails doctor
Wails CLI v2.5.1

 SUCCESS  Done.                                                             

# System

OS           | Kylin    
Version      | v10      
ID           | kylin    
Go Version   | go1.20.14
Platform     | linux    
Architecture | arm64    

# Wails

Version         | v2.5.1
Package Manager | apt   

# Dependencies

Dependency | Package Name          | Status    | Version                     
*docker    | docker.io             | Available | 20.10.7-0kylin5~20.04.2     
gcc        | build-essential       | Installed | 12.8kylin1                  
libgtk-3   | libgtk-3-dev          | Installed | 3.24.23-1kylin2k16.21update6
libwebkit  | libwebkit2gtk-4.0-dev | Installed | 2.38.6-0kylin0.20.04.1k0.2  
npm        | npm                   | Installed | 10.8.2                      
*nsis      | nsis                  | Installed | v3.05-2                     
pkg-config | pkg-config            | Installed | 0.29.1-1kylin4              
* - Optional Dependency

# Diagnosis

Your system is ready for Wails development!
Optional package(s) installation details: 
  - docker: sudo apt install docker.io

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

Additional context

No response