FG
🤖 AI & LLMs

new Error("Please install chromadb as a dependency with, e.g. `npm install -S chromadb`") but chromadb existed in node_modules in newer langchain since version 147

Freshover 2 years ago
Mar 14, 20260 views
Confidence Score87%
87%

Problem

My previous code used to be working in 0.0.145, [code block] now in newer version, 0.0.147, 0.0.148, 0.0.149(not tested yet but seems to be still wrong) are all getting an errors saying [code block] however the node_modules has the latest chromadb 1.5.8 , even downgraded to 1.5.3, still output the same error for no reason, any ideas why chromadb package not found ?

Error Output

Error: Please install chromadb as a dependency with, e.g. `npm install -S chromadb`

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate2 verificationsLast verified Mar 14, 2026

Solution: new Error("Please install chromadb as a dependency with, e.g. `npm install -S chromadb`") but chromadb existed in node_modules in newer langchain since version 147

Low Risk

@jacoblee93 thx for the quick update. this is from the Chroma discord: https://discord.com/channels/1073293645303795742/1152647545122738286/1153294473690873906 Apparently, if you rhard lock and rollback to Chroma 1.5.6 it will work

84

Trust Score

2 verifications

100% success
  1. 1

    @jacoblee93 thx for the quick update.

    @jacoblee93 thx for the quick update.

  2. 2

    this is from the Chroma discord:

    https://discord.com/channels/1073293645303795742/1152647545122738286/1153294473690873906

  3. 3

    Apparently, if you rhard lock and rollback to Chroma 1.5.6 it will work

    Apparently, if you rhard lock and rollback to Chroma 1.5.6 it will work

Validation

Resolved in langchain-ai/langchainjs GitHub issue #2637. Community reactions: 1 upvotes.

Verification Summary

Worked: 2
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

langchainllmairag