-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I'm having an issue in a vue.js application using steem-js and steemit/libcrypto.js.
require('steem.js')
throws the following exception:
TypeError: crypto.randomBytes is not a function
raised in the "nodeRandom" function of secure-random.js
It looks like nodeRandom invokes:
require('crypto')
then "randomBytes" on the result.
However require('crypto') is returning an empty object in my environment.
I'm wondering if steemit/libcrypto-js is clashing with node.js crypto.
Thanks for your assistance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels