[BUG] Error: DB storage not supported

Resolved 💬 18 comments Opened Apr 25, 2025 by 8W9aG Closed Apr 26, 2025
💡 Likely answer: A maintainer (igorkofman, collaborator) responded on this thread — see the highlighted reply below.

Environment

  • Platform (select one):
  • [x ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 0.2.84 (Claude Code)
  • Operating System: macOS 15.3.2 (24D81)
  • Terminal: Terminal App

Bug Description

After inputting any prompt to claude I see the following:

Error: DB storage not supported
    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:501:24798
    at D (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:474:12907)
    at uT1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:501:25784)
    at ou0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:501:25908)
    at RA6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1874:6178)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async x80.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:817)
    at async x80.parseAsync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:465:4184)
    at async eI8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1878:4348)
    at async rI8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1874:43981)

Steps to Reproduce

This happens to me with the following command: claude -p {prompt}

Expected Behavior

No crash.

Actual Behavior

Crash.

Additional Context

Was initially working and then began failing constantly with this message.

View original on GitHub ↗

18 Comments

benny-yamagata · 1 year ago

@8W9aG is this correct bug? Your description does not mention DB storage not supported

abazabaaa · 1 year ago

I do actually get this error. I haven't run into this before. On a side note, why does my claude say offline? (on bedrock)

● Task(Explore the repository to give a high-level overview of the project. …
Check the README.md files, main entry points like main.py, and key files
to understand what this project does.)
  ⎿  DB storage not supported

<img width="849" alt="Image" src="https://github.com/user-attachments/assets/cb2b2a88-691a-439a-97e4-7a10fc9d9d95" />

benny-yamagata · 1 year ago

I've never gotten the stack trace listed under the bug description. But I get the message that @abazabaaa has posted. But not the offline message.

8W9aG · 1 year ago

Apologies its just before the stack trace:

Error: DB storage not supported
    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:501:24798
    at D (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:474:12907)
    at uT1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:501:25784)
    at ou0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:501:25908)
    at RA6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1874:6178)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async x80.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:817)
    at async x80.parseAsync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:465:4184)
    at async eI8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1878:4348)
    at async rI8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1874:43981)
benny-yamagata · 1 year ago

Awesome, ill drop my issue then.

SamKr · 1 year ago

I have the same 'DB storage not supported', started after today's latest update. Never seen it before. Ubuntu 24.04 WSL.

michael-hedgineer · 1 year ago

Just saw this error as well with -p on WSL

Shimmy · 1 year ago

getting this with -p on Debian 12 as well, started today.
Quick fix is to downgrade: npm install @anthropic-ai/claude-code@0.2.81

tylermann · 1 year ago

Also getting this today consistently with -p on Ubuntu 24.04

workaround for me is to use the version from yesterday for now

npm install -g @anthropic-ai/claude-code@0.2.81
edspencer · 1 year ago

Same issue on Mac OS as of now:

This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: DB storage not supported
    at file:///Users/ed/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:501:24798
    at D (file:///Users/ed/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:474:12907)
    at uT1 (file:///Users/ed/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:501:25784)
    at ou0 (file:///Users/ed/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:501:25908)
    at RA6 (file:///Users/ed/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:1874:6178)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async x80.<anonymous> (file:///Users/ed/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:1875:817)
    at async x80.parseAsync (file:///Users/ed/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:465:4184)
    at async eI8 (file:///Users/ed/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:1878:4348)
    at async rI8 (file:///Users/ed/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:1874:43981)
claude -v
0.2.84 (Claude Code)

I use claude code almost all day, almost every day, so this seems recent as I'd never seen it before.

JBStockApp · 1 year ago

As FYI, still happening for me on OSX as of 0.2.85

backnotprop · 1 year ago

Mac M1. Tasks seem to continue without issue, though not clear.

<img width="548" alt="Image" src="https://github.com/user-attachments/assets/5b0ddefe-b093-4675-9ae4-a03e53c7057f" />

<br/>...<br/>
<img width="548" alt="Image" src="https://github.com/user-attachments/assets/670947f3-bce9-45e3-9dbe-be1e03db3a04" />

<br/>...<br/>

<img width="548" alt="Image" src="https://github.com/user-attachments/assets/d0fa2626-43bc-43c0-9040-c454c0bbc072" />

Another Observation

Claude Code generally seems slower.

re1ro · 1 year ago

+1
just merge that PR where you have the DB and cut a release already 😂

ibraheem4 · 1 year ago

+1

igorkofman collaborator · 1 year ago

Oof. We're looking into it now.

igorkofman collaborator · 1 year ago

We've published a fix in 0.2.86.
Apologies again for the breakage.

But yes, storage is coming!

backnotprop · 1 year ago

@igorkofman you mean I wont have to do the below any longer???

<img width="271" alt="Image" src="https://github.com/user-attachments/assets/a3e73d80-a6a3-4e5a-9ecc-3eac51f1db43" />

github-actions[bot] · 11 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.