Skip to content
1 min read · 103 words

Variable: E_CLAUDE_CODE_CLI_WRAPPER_NOT_FOUND ​

ts
const E_CLAUDE_CODE_CLI_WRAPPER_NOT_FOUND: CreatedException<[string]>;

Defined in: src/batteries/llm/claude_code_cli/exceptions.ts:46

Thrown when no wrapper asset could be located on disk — neither the path resolved relative to the adapter module's own compiled location, nor the fallback resolved via this package's own bare-specifier self-reference, pointed at an existing file. The most common cause is a consumer bundling this adapter (e.g. Vite/Electron Forge bundling an Electron main process): the adapter module no longer lives inside @nhtio/adk's own directory tree, and @nhtio/adk is not reachable as an ordinary dependency from the bundled code's new location either. Set the wrapperPath option to the built wrapper asset's absolute path to fix this.