I'm experiencing an issue with the initialization of the PineconeClient in my Strapi project. When I run strapi develop, I get the following error:
Starting the compilation for TypeScript files in /ai-bot-backend
PineconeClient: Error getting project name: TypeError: fetch failed
/ai-bot-backend/node_modules/@pinecone-database/pinecone/dist/index.js:219
throw new Error('PineconeClient: API key not set. Call init() first.');
^
[Error: PineconeClient: API key not set. Call init() first.]
Node.js v18.17.1
Done in 8.45s.
It seems like the PineconeClient is trying to access the API key before it's been set.
This error prevents me from starting my development server and effectively blocks my progress.
Any help on resolving this would be greatly appreciated. Thanks in advance!
Hello,
I'm experiencing an issue with the initialization of the PineconeClient in my Strapi project. When I run strapi develop, I get the following error:
Starting the compilation for TypeScript files in /ai-bot-backend PineconeClient: Error getting project name: TypeError: fetch failed /ai-bot-backend/node_modules/@pinecone-database/pinecone/dist/index.js:219 throw new Error('PineconeClient: API key not set. Call init() first.'); ^
[Error: PineconeClient: API key not set. Call init() first.]
Node.js v18.17.1 Done in 8.45s. It seems like the PineconeClient is trying to access the API key before it's been set.
This error prevents me from starting my development server and effectively blocks my progress.
Any help on resolving this would be greatly appreciated. Thanks in advance!
Environment:
Node.js version: v18.17.1 Operating System: Ubuntu Strapi Version: 4.12.1 Database: pg Yarn version: v1.22.19 Best regards,