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
[BUG]: Integrity check failed for tarball: opencode-darwin-arm64聽#4021
tar: ../../node_modules/opentui-core-win32-x64-0.1.36.tgz: Not found in archive
tar: ../../node_modules/opentui-core-win32-x64-0.0.0-20251106-788e97e4.tgz: Not found in archive
tar: -C: Not found in archive
tar: ../../node_modules/@opentui/core-win32-x64: Not found in archive
tar: --strip-components=1: Not found in archive
tar: Error exit delayed from previous errors.
43 | await $`mkdir -p ../../node_modules/${opentui}`
44 | await $`npm pack ${opentui}@${pkg.dependencies["@opentui/core"]}`.cwd(
45 | path.join(dir, "../../node_modules"),
46 | )
47 | console.log(1)
48 | await $`tar -xf ../../node_modules/${opentui.replace("@opentui/", "opentui-")}-*.tgz -C ../../node_modules/${opentui} --strip-components=1`
^
ShellError: Failed with exit code 1
exitCode: 1,
stdout: "",
stderr: "tar: ../../node_modules/opentui-core-win32-x64-0.1.36.tgz: Not found in archive\ntar: ../../node_modules/opentui-core-win32-x64-0.0.0-20251106-788e97e4.tgz: Not found in archive\ntar: -C: Not found in archive\ntar: ../../node_modules/@opentui/core-win32-x64: Not found in archive\ntar: --strip-components=1: Not found in archive\ntar: Error exit delayed from previous errors.\n",
at new ShellPromise (75:16)
at BunShell (191:35)
at /Users/ice/oss-prs/opencode/packages/opencode/script/build.ts:48:9
tar: ../../node_modules/opentui-core-win32-x64-0.1.36.tgz: Not found in archive
tar: ../../node_modules/opentui-core-win32-x64-0.0.0-20251106-788e97e4.tgz: Not found in archive
tar: -C: Not found in archive
tar: ../../node_modules/@opentui/core-win32-x64: Not found in archive
tar: --strip-components=1: Not found in archive
tar: Error exit delayed from previous errors.
43 | await $`mkdir -p ../../node_modules/${opentui}`
44 | await $`npm pack ${opentui}@${pkg.dependencies["@opentui/core"]}`.cwd(
45 | path.join(dir, "../../node_modules"),
46 | )
47 | console.log(1)
48 | await $`tar -xf ../../node_modules/${opentui.replace("@opentui/", "opentui-")}-*.tgz -C ../../node_modules/${opentui} --strip-components=1`
^
ShellError: Failed with exit code 1
exitCode: 1,
stdout: "",
stderr: "tar: ../../node_modules/opentui-core-win32-x64-0.1.36.tgz: Not found in archive\ntar: ../../node_modules/opentui-core-win32-x64-0.0.0-20251106-788e97e4.tgz: Not found in archive\ntar: -C: Not found in archive\ntar: ../../node_modules/@opentui/core-win32-x64: Not found in archive\ntar: --strip-components=1: Not found in archive\ntar: Error exit delayed from previous errors.\n",
at new ShellPromise (75:16)
at BunShell (191:35)
at /Users/ice/oss-prs/opencode/packages/opencode/script/build.ts:48:9
The build fails with "Not found in archive" error because old tarball files from previous builds remain in node_modules, causing the wildcard pattern to match multiple files.
npm pack creates opentui-core-win32-x64-0.1.36.tgz but opentui-core-win32-x64-0.0.0-20251106-788e97e4.tgz still exists from before. The wildcard opentui-core-win32-x64-*.tgz matches both, confusing tar.
Activity
Ravi-AIML commentedon Nov 7, 2025
The build fails with "Not found in archive" error because old tarball files from previous builds remain in node_modules, causing the wildcard pattern to match multiple files.
npm pack creates
opentui-core-win32-x64-0.1.36.tgzbutopentui-core-win32-x64-0.0.0-20251106-788e97e4.tgzstill exists from before. The wildcardopentui-core-win32-x64-*.tgzmatches both, confusing tar.Delete old tarball files before building: