---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/claude_code_cli/exceptions/variables/E_CLAUDE_CODE_CLI_WRAPPER_NOT_FOUND.md
description: >-
  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.
---

# 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](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/claude_code_cli/exceptions.ts#L46)

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.
