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

Issue running in React.js (browser) #7

Open
therealjmj opened this issue Apr 26, 2022 · 4 comments
Open

Issue running in React.js (browser) #7

therealjmj opened this issue Apr 26, 2022 · 4 comments

Comments

@therealjmj
Copy link

Hi all,

I'm experiencing an issue with both circomlibjs and circomlib on browser:

Uncaught TypeError: Cannot read properties of undefined (reading 'fromString') at Object../node_modules/circomlib/src/babyjub.js (babyjub.js:20:1)

It seems to occur when circomlibjs loads ffjavascript. It cannot find Scalar (or any other exported submodules).

Has anyone had success running circomlibjs on browser?

@kazelion
Copy link

Hi, I am experiencing the same issue. Have you solved the problem?

@KannuSingh
Copy link

have anyone got any solution for this issue?

@ZerLock
Copy link

ZerLock commented Nov 10, 2022

Me too

@ZerLock
Copy link

ZerLock commented Nov 10, 2022

You can solve this issue with a projet on Next. I was on React but when I switched to Next.js it works ! But for React.js it don't wok yet

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

4 participants