这是indexloc提供的服务,不要输入任何密码
Skip to content

Wails not recognised #4448

@R0N1n-dev

Description

@R0N1n-dev

Description

After following all instructions for installing on Windows and trying to create a project, I was met with
"Wails is not a recognised command"

To Reproduce

1.Installed go since i had other requirements met.
2.Added Wails cli
3. Attempted to create project

Expected behaviour

Project created successfully

Screenshots

No response

Attempted Fixes

  1. Toggled hidden folders off
    1. Proceeded to user folder (Users on local disk; C)
  2. found go folder
  3. copied wails file from bin in users/go/bin to the go folder in Program files where go was installed on the system.
  4. It worked

System Details

# Wails
Version | v2.10.2


# System
┌──────────────────────────────────────────────────────────────────────────────────────┐
| OS           | Windows 10 Pro                                                        |
| Version      | 2009 (Build: 26100)                                                   |
| ID           | 24H2                                                                  |
| Branding     | Windows 11 Pro                                                        |
| Go Version   | go1.24.5                                                              |
| Platform     | windows                                                               |
| Architecture | amd64                                                                 |
| CPU          | 12th Gen Intel(R) Core(TM) i3-12100                                   |
| GPU          | Intel(R) UHD Graphics 730 (Intel Corporation) - Driver: 32.0.101.6078 |
| Memory       | 4GB                                                                   |
└──────────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌───────────────────────────────────────────────────────┐
| Dependency | Package Name | Status    | Version       |
| WebView2   | N/A          | Installed | 138.0.3351.95 |
| Nodejs     | N/A          | Installed | 22.14.0       |
| npm        | N/A          | Installed | 10.9.2        |
| *upx       | N/A          | Available |               |
| *nsis      | N/A          | Available |               |
|                                                       |

Additional context

Just a comment.
Do not understand why this happened. No word of it on the installation page and yet i ran into this issue. Shoudnt the installation of wails CLI be clear and put files in the right place. Seems stupid to have to install it and suffer figuring out what is going on after following 'clear' instructions that leave you with an error one not as crazy as me would have to fix with no idea of what is going on.
Like i said i do not know if i am the first but it was infuriating restarting my terminal and nothing working for a while.
Like i said this seems stupid to me but then maybe am just cursed coz i do not know if am the only one to have to deal with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    External IssueNot a Wails issue but something wrong with an external dependencyNot a Wails IssueWindowsawaiting feedbackMore information is required from the requestor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions