[X] I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
Getting the following error in console:
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 0
Expected Behavior
There should no be any error in console
Steps To Reproduce
clone the repository
add openai api key
start the application using npm run dev
Relevant log output
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 0
at new NodeError (node:internal/errors:393:5)
at ServerResponse.writeHead (node:_http_server:313:11)
at ServerResponse.writeHead (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/compiled/compression/index.js:46:263)
at ServerResponse._implicitHeader (node:_http_server:304:8)
at ServerResponse.end (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/compiled/compression/index.js:22:749)
at sendResponse (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/server/send-response.js:42:30)
at doRender (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/server/base-server.js:1247:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async cacheEntry.responseCache.get.incrementalCache.incrementalCache (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/server/base-server.js:1446:28)
at async DevServer.renderToResponseWithComponentsImpl (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/server/base-server.js:1361:28)
at async DevServer.renderPageComponent (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/server/base-server.js:1600:24)
at async DevServer.renderToResponseImpl (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/server/base-server.js:1638:32)
at async DevServer.pipeImpl (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/server/base-server.js:826:25)
at async DevServer.handleCatchallRenderRequest (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/server/next-server.js:623:13)
at async DevServer.handleRequestImpl (/path/to/code/pinecone-vercel-starter/node_modules/next/dist/server/base-server.js:728:17) {
code: 'ERR_HTTP_INVALID_STATUS_CODE'
}
Is this a new bug?
Current Behavior
Getting the following error in console:
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 0
Expected Behavior
There should no be any error in console
Steps To Reproduce
npm run dev
Relevant log output
Environment
Additional Context
No response