Facing this issue with the latest o1js versions. I narrowed the problem to this
export const TestZkProgram = ZkProgram({
name: 'TestZkProgram',
publicInput: Field,
publicOutput: Field,
methods: {
add: {
privateInputs: [SelfProof],
async method(a: Field, b: SelfProof<Field, Field>) {
return a.add(b.publicOutput);
},
},
},
});
the above zkProgram compiles in a node environment, but when tried to compile in browser it gets stuck, with no errors in console log. :/