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.
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.