You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
npm install -g fails with TAR_ENTRY_ERROR — missing parent directories in openclaw tarball #503
Installing NemoClaw via the official installer script consistently fails with TAR_ENTRY_ERROR warnings followed by a fatal spawn sh ENOENT error.
Error Output
npm warn tar TAR_ENTRY_ERROR ENOENT: no such file or directory, lstat '/home/ubuntu/.npm-global/lib/node_modules/nemoclaw/node_modules/openclaw/dist/plugin-sdk/config'
npm warn tar TAR_ENTRY_ERROR ENOENT: no such file or directory, lstat '/home/ubuntu/.npm-global/lib/node_modules/nemoclaw/node_modules/openclaw/extensions'
npm warn tar TAR_ENTRY_ERROR ENOENT: no such file or directory, lstat '/home/ubuntu/.npm-global/lib/node_modules/nemoclaw/node_modules/openclaw/skills'
npm error code ENOENT
npm error syscall spawn sh
npm error path /home/ubuntu/.npm-global/lib/node_modules/nemoclaw/node_modules/@whiskeysockets/baileys
npm error errno -2
npm error enoent spawn sh ENOENT
Root Cause
The openclaw package tarball (v2026.3.13, 94.8 MB unpacked) contains entries where files appear before their parent directories. npm's tar extractor cannot write these files because the parent directories (config/, extensions/, skills/) haven't been created yet.
This causes an incomplete extraction, which then causes @whiskeysockets/baileys postinstall script to fail with spawn sh ENOENT — crashing the entire install.
Workaround
git clone https://github.com/NVIDIA/NemoClaw.git /tmp/nemoclaw-src
cd /tmp/nemoclaw-src
npm install --ignore-scripts
npm link
Suggested Fix
Investigate the openclaw npm tarball to ensure directory entries are ordered before their contents (RFC-compliant tar ordering)
Or add --ignore-scripts to the npm install call in install.sh to prevent the cascading postinstall failure
Thanks for sharing the details of the installation failure on Ubuntu, including the error output, which should help us identify the cause of the TAR_ENTRY_ERROR.
Activity
fix: add --ignore-scripts to npm install to unblock installs (#503)
fix: repair openclaw tarball extraction with system tar (GH-503)
fix: pre-extract openclaw with system tar before npm install (GH-503)
fix: pre-extract openclaw with system tar to unblock installs (#503)
fix: pre-extract openclaw with system tar to unblock installs (#503)
fix: pre-extract openclaw with system tar to unblock installs (#503)
fix: pre-extract openclaw with system tar to unblock installs (NVIDIA…
wscurran commentedon Mar 20, 2026
Thanks for sharing the details of the installation failure on Ubuntu, including the error output, which should help us identify the cause of the TAR_ENTRY_ERROR.
fix: pre-extract openclaw with system tar to unblock installs (NVIDIA…
fix: pre-extract openclaw with system tar to unblock installs (NVIDIA…
fix(install): tighten semver regex and use curl installer in fallback…
fix(install): tighten semver regex and use curl installer in fallback…