L
L
lexstile2021-12-16 14:05:39
npm
lexstile, 2021-12-16 14:05:39

How to get the randombytes package to work?

Installed the randombytes package .
It required buffer to be set . Installed.
Now writes:

Uncaught (in promise) TypeError: (0 , randombytes__WEBPACK_IMPORTED_MODULE_1__.randomBytes) is not a function

What am I doing wrong besides wanting to use this package?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question