web3.js
web3.js copied to clipboard
Unknown named module: 'crypto'
I am getting this error on const account = web3.eth.accounts.create(password);
Sounds like you haven't required crypto? Seeing as you have only shown 1 line, it's hard to say what you are referring to.