Skip to content

lakectl build: make build fails when node is not installed #10379

@DavidBoublil

Description

@DavidBoublil

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions