1

Trying to import latest build of EOSJS but getting error:

Error: ENOENT: no such file or directory, open '.../node_modules/eosjs/lib/index.js'

previous versions 'work' until I try to access the Rpc.JsonRpc module (gives "cannot read property 'JsonRpc' of undefined")

any ideas? I can see in the eosjs folder in node modules there isn't even a lib folder.

-1
import JsonRpc from 'eosjs/dist/eosjs-jsonRpc.js'
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.