I'm currently encountering an error when building for the browser. The issue is present in 0.1.0 and 0.1.1, but downgrading to version 0.0.8 resolves the issue. Since I only need to generate a poseidon hash for the moment, I won't debug further but will log the issue in case others encounter something similar.
I am building circomlibjs for web using create-react-app. Unfortunately I do not know what underlying system bundles the JS for web.
I am using circomlibjs as follows:
const circomlibjs = require('circomlibjs')
circomlibjs.buildPoseidon()
The result is the following error:

I'm currently encountering an error when building for the browser. The issue is present in
0.1.0and0.1.1, but downgrading to version0.0.8resolves the issue. Since I only need to generate a poseidon hash for the moment, I won't debug further but will log the issue in case others encounter something similar.I am building circomlibjs for web using
create-react-app. Unfortunately I do not know what underlying system bundles the JS for web.I am using circomlibjs as follows:
The result is the following error: