Closed KimiWu123 closed 4 years ago
I had the same error on Windows. In my case, it was being caused by strings with "\\" in my file paths in the offending file. I manually changed them to forward slashes "/" and it worked.
So basically check if your circuit.js file has any strings like "C:\\Users\\Alice\\project\\..." and changing them to "C:/Users/Alice/project/..." should work
This shoiuld be translated to circom repo.
I wrote some samples to practice. It seems some format error in my json file. It shows
Here is my circom code, (not sure it's correct or not, still learning...)
It works on my Mac, but it's too slow to
setup
. So, I run it on my Windows, but it has the above errors.it works on Windows with the following code.(generating proofs, setup, and verification are fine)