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

yarn start ETH USDC error #4

Open
jackongxp opened this issue Dec 7, 2020 · 0 comments
Open

yarn start ETH USDC error #4

jackongxp opened this issue Dec 7, 2020 · 0 comments

Comments

@jackongxp
Copy link

yarn run v1.22.10
$ node src/index.js ETH USDC
Retrieving contract information...
Contract information retrieved.
errorError: connection not open on send()
(node:97896) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined to a BigInt
at Function.BigInt (/Users/uniswap-price-feed-master/node_modules/jsbi/dist/jsbi-cjs.js:1:791)
at Token.Currency (/Users/uniswap-price-feed-master/node_modules/@uniswap/sdk/dist/sdk.cjs.development.js:366:37)
at new Token (/Users/uniswap-price-feed-master/node_modules/@uniswap/sdk/dist/sdk.cjs.development.js:389:23)
at main (/Users/uniswap-price-feed-master/src/index.js:403:21)
(node:97896) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:97896) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

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

1 participant