We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to run promu on a windows system.
I have install go using the offical go msi installer. The installation path is C:\Program Files\Go\ by default.
C:\Program Files\Go\
Running promu build -v returns the following error:
promu build -v
promu build -v Using config file: .promu.yml Running command: build [-v] Building binary: windows_exporter > windows_exporter.exe -X github.com/prometheus/common/version.Revision=b9a271cde0c36a09c8966c54855ec4edc2f04e9b -X github.com/prometheus/common/version.Branch=cs -X github.com/prometheus/common/version.BuildUser=jok-pc\jan@JOK-PC -X github.com/prometheus/common/version.BuildDate=20240831-12:55:03 -extldflags '-static' github.com/prometheus-community/windows_exporter -X github.com/prometheus/common/version.Revision=b9a271cde0c36a09c8966c54855ec4edc2f04e9b -X github.com/prometheus/common/version.Branch=cs -X github.com/prometheus/common/version.BuildUser=jok-pc\jan@JOK-PC -X github.com/prometheus/common/version.BuildDate=20240831-12:55:03 -extldflags '-static' github.com/prometheus-community/windows_exporter -X github.com/prometheus/common/version.Revision=b9a271cde0c36a09c8966c54855ec4edc2f04e9b -X github.com/prometheus/common/version.Branch=cs -X github.com/prometheus/common/version.BuildUser=jok-pc\jan@JOK-PC -X github.com/prometheus/common/version.BuildDate=20240831-12:55:03 -extldflags '-static' github.com/prometheus-community/windows_exporter: fork/exec C:\Program Files\Go\bin\go.exe: invalid argument make: *** [Makefile:22: windows_exporter.exe] Error 1
Go is installed and working fine:
PS C:\Users\Jan\GolandProjects\windows_exporter> . "C:\Program Files\Go\bin\go.exe" version go version go1.23.0 windows/amd64
Version:
PS C:\Users\Jan\GolandProjects\windows_exporter> promu version promu, version 0.17.0 (branch: HEAD, revision: 3912dec4ab83971903015cc7b2a8d8ff93b73910) build user: root@1b207db2559b build date: 20240420-10:35:33 go version: go1.22.2 platform: windows/amd64 tags: static_build
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to run promu on a windows system.
I have install go using the offical go msi installer. The installation path is
C:\Program Files\Go\
by default.Running
promu build -v
returns the following error:Go is installed and working fine:
Version:
The text was updated successfully, but these errors were encountered: