Skip to content

Remove committed dist/ build artifacts from git tracking #457

Closed

Description

@ericksoa

Problem

nemoclaw/dist/ (76 compiled TypeScript files) is committed to the repo. The .gitignore explicitly un-ignores it with !nemoclaw/dist/. This causes:

Why it was committed

The primary install path (npm install -g git+https://github.com/NVIDIA/NemoClaw.git) has no prepare script, so without committed dist the OpenClaw plugin would be missing after install.

Fix

  1. Add a prepare script to root package.json that builds dist from source
  2. Remove !nemoclaw/dist/ from .gitignore
  3. git rm -r --cached nemoclaw/dist/
  4. Update Dockerfile to build from source (multi-stage)
  5. Update scripts/setup.sh to auto-build dist if missing instead of hard-failing

Activity

  1. autocardvelabs commented on Mar 20, 2026

    @autocardvelabs

    That fix works

  2. added a commit that references this issue on Mar 20, 2026
    0455352
  3. added a commit that references this issue on Mar 24, 2026
    99094ce
  4. added a commit that references this issue on Mar 24, 2026
    6e07504
  5. added
    area: packaging
    on Nov 13, 2026
  6. added theissue type on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: packaging

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions