Skip to content
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

[BUG] RuntimeError: memory access out of bounds #156

Open
1 task done
KimCookieYa opened this issue Jan 28, 2024 · 0 comments
Open
1 task done

[BUG] RuntimeError: memory access out of bounds #156

KimCookieYa opened this issue Jan 28, 2024 · 0 comments

Comments

@KimCookieYa
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

https://www.sprucekit.dev/ssx/quickstart/implementing-the-userauthorization-module

I followed the above example and received the error when I pressed the "Sign-In With Ethereum" button. It was confirmed that /api/ssx-nonce api received a request and returned a response, but it appears that wasm had a problem accessing memory when setting up ssx.

There appears to be a problem with the wasm file in the ssx library!

const ssxHandler = async () => { // here! const ssx = new SSX({ providers: { server: { host: "http://localhost:3000/api", }, }, }); console.log(ssx); await ssx.signIn(); console.log("here?"); setSSX(ssx); };

image

Expected Behavior

No response

Steps To Reproduce

  1. window11 + node18.17.1 + nextjs14.1.0
  2. ..
  3. run 'yarn dev' and click button "Sign-In With Etherem"
  4. see "RuntimeError: memory access out of bounds"

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant