diff --git a/packages/vector-store-service/src/vectorstore/mongodb.ts b/packages/vector-store-service/src/vectorstore/mongodb.ts index 95231bf4..71e08901 100644 --- a/packages/vector-store-service/src/vectorstore/mongodb.ts +++ b/packages/vector-store-service/src/vectorstore/mongodb.ts @@ -104,6 +104,8 @@ async function importMongoDB() { return { MongoClient } } catch (err) { logger.error(err) - throw new Error('Please install mongodb as a dependency`') + throw new Error( + 'Please install mongodb as a dependency with, e.g. `npm install -S mongodb`' + ) } }