wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
25.35k stars 1.22k forks source link

error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. Unable to complete effective action #3340

Open bambuo opened 7 months ago

bambuo commented 7 months ago

Description

I was unable to complete the target build according to the prompted parameters.

Here is my output

> wails dev   
Wails CLI v2.8.0

Executing: go mod tidy
  • Generating bindings: 
  ERROR   
          error obtaining VCS status: exit status 128
                Use -buildvcs=false to disable VCS stamping.

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

To Reproduce

  1. go install github.com/wailsapp/wails/v2/cmd/wails@latest
  2. wails dev

Expected behaviour

Completes the desired goal of the command normally, or prompts for the validity of the parameters

Screenshots

No response

Attempted Fixes

No response

System Details

> wails doctor   

          Wails Doctor

# Wails
Version | v2.8.0

# System
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| OS           | Windows 10 Pro                                                                                   |
| Version      | 2009 (Build: 19045)                                                                              |
| ID           | 22H2                                                                                             |
| Go Version   | go1.22.1                                                                                         |
| Platform     | windows                                                                                          |
| Architecture | amd64                                                                                            |
| CPU          | 12th Gen Intel(R) Core(TM) i5-12400                                                              |
| GPU 1        | OrayIddDriver Device (Shanghai Best Oray Information Technology Co., Ltd.) - Driver: 17.1.58.818 |
| GPU 2        | Intel(R) UHD Graphics 730 (Intel Corporation) - Driver: 31.0.101.4255                            |
| Memory       | 16GB                                                                                             |
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌───────────────────────────────────────────────────────┐
| Dependency | Package Name | Status    | Version       |
| WebView2   | N/A          | Installed | 122.0.2365.92 |
| Nodejs     | N/A          | Installed | 20.11.0       |
| npm        | N/A          | Installed | 10.2.4        |
| *upx       | N/A          | Available |               |
| *nsis      | N/A          | Available |               |
└─────────────── * - Optional Dependency ───────────────┘

# Diagnosis
Optional package(s) installation details:
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/

 SUCCESS  Your system is ready for Wails development!

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

Additional context

No response

bambuo commented 7 months ago

Found a detail that compiles properly if the project is placed in non-mobile storage

leaanthony commented 7 months ago

Thanks for opening this. This sounds more like a Go issue?

Flussen commented 7 months ago

The same thing happened to me, but I simply checked in visual studio code, with the github pull request extension, and it had not connected properly to the repository, I reconnected and it worked again

KJHJason commented 1 month ago

The same thing happened to me as well. I managed to fix it by re-initialising my local git repo due to a corrupted config file in my .git directory.