EOSIO / eosjs-keygen

Javascript keys generator for EOS
71 stars 32 forks source link

Module `assert` does not exist #15

Open shamtroon opened 5 years ago

shamtroon commented 5 years ago

Hey, I am using eosjs-keygen for generating EOS key, in my React and React-Native app. Key-pairs are generated successfully in React, but when I tried same thing on React-Native, it causes following issue :

Error: Unable to resolve module assert from /home/Desktop/React-Native/project/node_modules/eosjs-keygen/lib/keystore.js: Module assert does not exist in the Haste module map.

ekkis commented 4 years ago

you have to install it. there are a bunch of modules that have to be installed too:

# npm i assert