Claude-code icon indicating copy to clipboard operation
Claude-code copied to clipboard

exit code 1

Open PingasTester opened this issue 3 months ago • 1 comments

I followed all of the steps on kali linux rolling 2026.3, using bun 1.4.0 up until "bun run build", then the following gets output when i run the aformentioned command:

┌──(kali㉿kali)-[~/claude-code]
└─$ bun run build
$ bun build.ts
Building Claude Code v2.1.88...
Enabled flags: VOICE_MODE, COORDINATOR_MODE, TOKEN_BUDGET, TEAMMEM, AGENT_TRIGGERS, MESSAGE_ACTIONS, HOOK_PROMPTS, AWAY_SUMMARY, BG_SESSIONS, BUDDY, DUMP_SYSTEM_PROMPT, COWORKER_TYPE_TELEMETRY
6 | } from '@ant/claude-for-chrome-mcp'
           ^
error: Could not resolve: "@ant/claude-for-chrome-mcp". Maybe you need to "bun install"?
    at /home/spy/claude-code/src/utils/claudeInChrome/mcpServer.ts:6:8

1 | import { BROWSER_TOOLS } from '@ant/claude-for-chrome-mcp'
                                  ^
error: Could not resolve: "@ant/claude-for-chrome-mcp". Maybe you need to "bun install"?
    at /home/spy/claude-code/src/utils/claudeInChrome/setup.ts:1:31

1 | import { BROWSER_TOOLS } from '@ant/claude-for-chrome-mcp'
                                  ^
error: Could not resolve: "@ant/claude-for-chrome-mcp". Maybe you need to "bun install"?
    at /home/spy/claude-code/src/skills/bundled/claudeInChrome.ts:1:31

27 |     const mod = await import('audio-capture-napi')
                                  ^
error: Could not resolve: "audio-capture-napi". Maybe you need to "bun install"?
    at /home/spy/claude-code/src/services/voice.ts:27:30

6 | } from 'color-diff-napi'
           ^
error: Could not resolve: "color-diff-napi". Maybe you need to "bun install"?
    at /home/spy/claude-code/src/components/StructuredDiff/colorDiff.ts:6:8

34 |     require('modifiers-napi') as { isModifierPressed: (m: string) => boolean }
                 ^
error: Could not resolve: "modifiers-napi". Maybe you need to "bun install"?
    at /home/spy/claude-code/src/utils/modifiers.ts:34:13

Bun v1.4.0 (Linux x64)
error: script "build" exited with code 1
                                                                                                                                                              

PingasTester avatar Aug 30 '26 03:08 PingasTester

added the bun version next to the OS version so people don't have to go through the entire terminal output to find it

PingasTester avatar Aug 30 '26 03:08 PingasTester