Skip to content

Issue running in React.js (browser) #7

@therealjmj

Description

@therealjmj

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions