Closed ArkfrostLumas closed 1 year ago
So I followed every step carefully, but whenever I use npm run generate-embeddings-pinecone it gives me the following error message:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@pinecone-database/pinecone' imported from C:[...]\companion-app\src\scripts\indexPinecone.mjs
Same with Supabase, after uncommenting it in the .env.local file:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'dotenv' imported from C:[...]\companion-app\src\scripts\indexPGVector.mjs
So to me it looks like in both cases it doesn't find the .env.local file to get the credentials, but I have no clue how to fix that.
Sorry for the delay in reply here. It seems like your PINECONE_ENVIRONMENT variable is wrong, it should be something like us-west-gcp
us-west-gcp
So I followed every step carefully, but whenever I use npm run generate-embeddings-pinecone it gives me the following error message:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@pinecone-database/pinecone' imported from C:[...]\companion-app\src\scripts\indexPinecone.mjs
Same with Supabase, after uncommenting it in the .env.local file:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'dotenv' imported from C:[...]\companion-app\src\scripts\indexPGVector.mjs
So to me it looks like in both cases it doesn't find the .env.local file to get the credentials, but I have no clue how to fix that.