current position:Home>Running on win10 -- Practice Guide: an error occurred when building a zero knowledge proof DAPP demo

Running on win10 -- Practice Guide: an error occurred when building a zero knowledge proof DAPP demo

2022-02-03 22:59:20 Q & A of Denglian community

win10 Up operation circom circuits/circuit.circom --r1cs On command , Throw an error :

>circom circuits/circuit.circom --r1cs --wasm --symundefinedERROR at E:\ Blockchain coding implementation \circuits\circuit.circom:13,2-16,3   Sizes in assignment must be the same(node:17260) UnhandledPromiseRejectionWarning: TypeError: Do not know how to serialize a BigInt    at JSON.stringify (<anonymous>)    at compiler.then (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\circom\cli.js:160:28)    at process._tickCallback (internal/process/next_tick.js:68:7)    at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)    at startup (internal/bootstrap/node.js:283:19)    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)(node:17260) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)(node:17260) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

circuit.circom Chinese code with https://learnblockchain.cn/article/1113 Agreement node edition :10.16.1






Other answers 1:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032259183201.html

Random recommended