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
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
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
@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
Trust Score
2 verifications
- 1
@jacoblee93 thx for the quick update.
@jacoblee93 thx for the quick update.
- 2
this is from the Chroma discord:
https://discord.com/channels/1073293645303795742/1152647545122738286/1153294473690873906
- 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
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep