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
Error "Buffer2 is undefined" when using userbase-js with SvelteKit #356
Comments
Going to look into removing the diffie-hellman dependency since it shouldn't be in use anymore anyway (was only used in userbase-js v1), thanks for reporting. |
+1 for this. Is there any workaround that can be used in the meantime? |
One workaround in the meantime could be to import the script from https://sdk.userbase.com/2/userbase.js I'm not too familiar with Svelte, but this post seems a solid guide on going about doing that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full error message:
To reproduce:
Edit the
index.svelte
file. Add following line:The text was updated successfully, but these errors were encountered: