Closed yashwanth2804 closed 6 years ago
use import {Rpc, SignatureProvider, Api} from 'eosjs'
and const rpc = new Rpc.JsonRpc( ... const sp = new SignatureProvider( ... const api = new Api( ...
Still not working I changed to what u suggsted
That too while in import statement it showing thi warning
[ts]
Could not find a declaration file for module 'eosjs'.
need to see import eosjs code section
Thank you I solved the issue, i un knowningly changed that [language] to typescript
, with this effect every node module not imported after resetting worked fine .
After changing from typescript
to babel
woking fine
Version of EOSJS beta
Describe the bug giving issue while I am providing
process.env.REACT_APP_EOSIO_HTTP_URL
valid end point