Description
Running make build fails with env: node: No such file or directory when Node.js is not installed, even when the goal is only to build the Go binaries. The build target unconditionally triggers the UI build (gen-ui), which requires Node.js.
There is no dedicated target to build only the Go binaries without the UI, making it impossible to build lakectl or lakefs in environments without Node.js using the standard make build workflow.
Proposed Solution
Introduce a build-go (or similar) Makefile target that runs only build-binaries without triggering gen-ui, so Go-only builds work without Node.js.
Description
Running
make buildfails withenv: node: No such file or directorywhen Node.js is not installed, even when the goal is only to build the Go binaries. The build target unconditionally triggers the UI build (gen-ui), which requires Node.js.There is no dedicated target to build only the Go binaries without the UI, making it impossible to build
lakectlorlakefsin environments without Node.js using the standardmake buildworkflow.Proposed Solution
Introduce a
build-go(or similar) Makefile target that runs onlybuild-binarieswithout triggeringgen-ui, so Go-only builds work without Node.js.