You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ bun index.js
{
obj: "",
type: "string"
}
502 | case 0:
503 | const t = this.raw.text();
504 | _a = this.transformer;
505 | return [4 /*yield*/, t
506 | .then(t => JSON.parse(t))
507 | .catch(e => {
^
SyntaxError: JSON Parse error: Unexpected EOF
at /Users/erhant/fb/tmp/pinecone-bug/node_modules/@pinecone-database/pinecone/dist/pinecone-generated-ts-fetch/runtime.js:507:38
Steps To Reproduce
Install pinecone package and create a file with the snippet given above.
Run it with node and confirm it works.
Run it with bun and confirm it throws an error.
What version of Bun is running?
1.1.45+196621f25
What platform is your computer?
Darwin 24.2.0 arm64 arm
What steps can reproduce the bug?
Install
@pinecone-database/pinecone
and then do some Pinecone stuff like thisIt throws an error:
Steps To Reproduce
Install pinecone package and create a file with the snippet given above.
Run it with node and confirm it works.
Run it with bun and confirm it throws an error.
What is the expected behavior?
It should work
What do you see instead?
No response
Additional information
Related issue: pinecone-io/pinecone-ts-client#141
The text was updated successfully, but these errors were encountered: