Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'toString' of undefined #39

Open
thackerronak opened this issue Sep 14, 2018 · 1 comment
Open

Comments

@thackerronak
Copy link

Getting type error in lib file.

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Error</title>
    </head>
    <body>
        <pre>TypeError: Cannot read property &#39;toString&#39; of undefined
            <br> &nbsp; &nbsp;at Array.str (/home/ubuntu/swap-node/node_modules/bitcoind-rpc/lib/index.js:260:18)
            <br> &nbsp; &nbsp;at RpcClient.&lt;anonymous&gt; (/home/ubuntu/swap-node/node_modules/bitcoind-rpc/lib/index.js:236:35)
            <br> &nbsp; &nbsp;at Bitcoin.sendTransaction (/home/ubuntu/swap-node/node_modules/bitcore-node/lib/services/bitcoind.js:1804:15)
            <br> &nbsp; &nbsp;at Node.self.(anonymous function) [as sendTransaction] (/home/ubuntu/swap-node/node_modules/bitcore-node/lib/node.js:223:27)
            <br> &nbsp; &nbsp;at TxController.send (/home/ubuntu/swap-node/node_modules/insight-api/lib/transactions.js:303:13)
            <br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/ubuntu/swap-node/node_modules/express/lib/router/layer.js:95:5)
            <br> &nbsp; &nbsp;at next (/home/ubuntu/swap-node/node_modules/express/lib/router/route.js:137:13)
            <br> &nbsp; &nbsp;at Route.dispatch (/home/ubuntu/swap-node/node_modules/express/lib/router/route.js:112:3)
            <br> &nbsp; &nbsp;at Layer.handle [as handle_request] (/home/ubuntu/swap-node/node_modules/express/lib/router/layer.js:95:5)
            <br> &nbsp; &nbsp;at /home/ubuntu/swap-node/node_modules/express/lib/router/index.js:281:22
        </pre>
    </body>
</html>
@carnesen
Copy link
Contributor

@thackerronak You'll need to provide more context for the problem you're encountering to have any chance of getting help with this. All we have to go on is an HTML snippet, which is confusing in and of itself because this library is only intended for use in Node.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants