-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weaviate-ts-client library error on sveltekit #86
Comments
Hi @emilaleksanteri, this looks like a weird one! Thank you for raising it 😁 Through doing some digging, I've come across this thread: mswjs/msw#1655, where they discuss how I think the same problem that happened there is also affecting us. Our We are in the process of releasing a new version of the TS client that is compatible with the most up-to-date Weaviate server that went live yesterday. I will ensure that this fix is included in that release! |
@tsmith023 Thank you for the response, sounds exciting!! |
@emilaleksanteri, it turns out I will close this now as not planned since the upstream problem has in fact been addressed 😁 |
Hi, I keep getting this error in the weavite-ts-client source:
"Uncaught (in promise) SyntaxError: missing name after . operator"
The view source points out to the line below FIX ME comment as the issue at
weaviate-ts-client.js:2365:35
// node_modules/.pnpm/[email protected]/node_modules/graphql/jsutils/instanceOf.mjs var instanceOf = ( /* c8 ignore next 6 */ // FIXME: https://github.com/graphql/graphql-js/issues/2317 globalThis.process && globalThis."development" === "production" ? function instanceOf2(value, constructor) { return value instanceof constructor; } : function instanceOf3(value, constructor) { if (value instanceof constructor) { return true; } ...
I don't know if this is an issue in my end on the specific TS config in Sveltekit or if its in the source for certain since the library seems to work on just a vanilla ts-node set up while failing to work in the sveltekit environment.
The text was updated successfully, but these errors were encountered: