Skip to content

Running Buildifier in Windows using Bazel #770

@amit-traiana

Description

@amit-traiana

I'm trying to run Buildifier in Windows. I'm using Bazel instead of the Go package:

bazel run buildifier

I'm getting the following error:

FATAL: ExecuteProgram(C:\users\automation\_bazel_automation\iesztftu\execroot\test\bazel-out\x64_windows-fastbuild\bin\buildifier.bash) failed: ERROR: src/main/native/windows/process.cc(199): CreateProcessW("C:\users\automation\_bazel_automation\iesztftu\execroot\depo\bazel-out\x64_windows-fastbuild\bin\buildifier.bash"): %1 is not a valid Win32 application.
 (error: 193)

It looks like a .bash file is trying to get executed in a Windows shell?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions