vscode-bazel icon indicating copy to clipboard operation
vscode-bazel copied to clipboard

Getting EPIPE error when trying to run buildifier from VSCode

Open xykivo opened this issue 5 years ago • 1 comments

Buildifer installed using go, under $GOPATH/bin/buildifier Configured (in settings) "bazel.buildifierExecutable": "$GOPATH/bin/buildifier"

When trying to have buildifier run on on edit. or on safe, getting warnings that buildifier is not found, and then an EPIPE error.

OS: Ubuntu 20.04 VSCode version: 1.48.2

xykivo avatar Aug 28 '20 02:08 xykivo

It seems like you need use a static, absolute path. No vars allowed. Worked for me anyway.

gus avatar Jan 04 '21 18:01 gus