blockchain-verifier icon indicating copy to clipboard operation
blockchain-verifier copied to clipboard

TextEncoder is not defined when opening ./blockfile_000000

Open MiguelMotaG opened this issue 2 years ago • 2 comments

Hi, I just installed blockchain-verifier, I'm trying to parse the a block file from my system channel, I'm running

$ npx bcverifier -n generic-block -c ./blockfile_000000 -o result.json start
TextEncoder is not defined

but I'm getting this message "TextEncoder is not defined", I already tried to define a TextEncoder without results, any suggestion?

thanks !

MiguelMotaG avatar Mar 31 '23 05:03 MiguelMotaG

Thank you for trying out Blockchain Verifier, but unfortunately, I could not reproduce your issue.

When I ran the command, I've got:

$ npx bcverifier -n generic-block -c ./blockfile_000000 -o result.json start
BCVerifier Error: No suitable network plugin found
Error: No suitable network plugin found

I suspect that the message has something to do with your node environment. Could you elaborate your environment a little bit more? (btw, generic-block in the option should be fabric-block)

shimos avatar Apr 03 '23 09:04 shimos

Sorry was such in a hurry that I didn't notice that Node.js >= v16 is required, I have v10.19.0, so I think it just won't work.

thanks anyways.

MiguelMotaG avatar Apr 05 '23 06:04 MiguelMotaG