Skip to content

in linux arm64,wails dev fail #5546

@victory-zz

Description

@victory-zz

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/sys@v0.28.0/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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingawaiting feedbackMore information is required from the requestor

    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