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
On updating typesense database I often get the following error:
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at (./node_modules/typesense/src/Typesense/Documents.ts:355:26)
at Array.map ()
at Documents. (./node_modules/typesense/src/Typesense/Documents.ts:355:10)
at step (./node_modules/typesense/lib/Typesense/Documents.js:48:23)
at Object.next (./node_modules/typesense/lib/Typesense/Documents.js:29:53)
at fulfilled (./node_modules/typesense/lib/Typesense/Documents.js:20:58)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
We also started facing this issue, seems like the problem actually stems from some changes on the server, because 26.0 didn't cause this for us.
Could you provide a reproducible example that would match that case? I'll try it out with different server versions so I can find a solution that serves both cases.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.On updating typesense database I often get the following error:
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at (./node_modules/typesense/src/Typesense/Documents.ts:355:26)
at Array.map ()
at Documents. (./node_modules/typesense/src/Typesense/Documents.ts:355:10)
at step (./node_modules/typesense/lib/Typesense/Documents.js:48:23)
at Object.next (./node_modules/typesense/lib/Typesense/Documents.js:29:53)
at fulfilled (./node_modules/typesense/lib/Typesense/Documents.js:20:58)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
Please consider to apply this patch!
Thank you in advance,
Tom
The text was updated successfully, but these errors were encountered: