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

any idea about this error ? #27

Open
CodeWithJD opened this issue Dec 20, 2022 · 0 comments
Open

any idea about this error ? #27

CodeWithJD opened this issue Dec 20, 2022 · 0 comments

Comments

@CodeWithJD
Copy link

CodeWithJD commented Dec 20, 2022

first, to all thanks for your great app I have tried to run this but I face this error.

javedali@Javeds-MacBook-Pro WeChartWeb3-master % npm run scraper

[email protected] scraper /Users/javedali/Documents/WeChartWeb3-master
node ./workers/updater/master.js

[LAST SCRAPED]
MongoDB connected
MongoDB connected
[NO TOPICS] false
(node:35002) UnhandledPromiseRejectionWarning: Error: cannot convert null value to array
at toByteArray (/Users/javedali/Documents/WeChartWeb3-master/workers/lib/bloomfilter.js:41:15)
at keccak256 (/Users/javedali/Documents/WeChartWeb3-master/workers/lib/bloomfilter.js:10:35)
at setInBloom (/Users/javedali/Documents/WeChartWeb3-master/workers/lib/bloomfilter.js:132:18)
at BlockInfo.addLog (/Users/javedali/Documents/WeChartWeb3-master/workers/lib/block.listner.js:27:27)
at BlockListener._processLog (/Users/javedali/Documents/WeChartWeb3-master/workers/lib/block.listner.js:108:19)
at Timeout._onTimeout (/Users/javedali/Documents/WeChartWeb3-master/node_modules/web3-core-subscriptions/lib/subscription.js:257:23)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7)
(Use node --trace-warnings ... to show where the warning was created)
(node:35002) 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:35002) [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.
(node:35002) UnhandledPromiseRejectionWarning: Error: Returned error: invalid argument 0: hex string without 0x prefix
at Object.ErrorResponse (/Users/javedali/Documents/WeChartWeb3-master/node_modules/web3-core-helpers/lib/errors.js:28:19)
at /Users/javedali/Documents/WeChartWeb3-master/node_modules/web3-core-requestmanager/lib/index.js:302:36
at XMLHttpRequest.request.onreadystatechange (/Users/javedali/Documents/WeChartWeb3-master/node_modules/web3-providers-http/lib/index.js:98:13)
at XMLHttpRequestEventTarget.dispatchEvent (/Users/javedali/Documents/WeChartWeb3-master/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (/Users/javedali/Documents/WeChartWeb3-master/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (/Users/javedali/Documents/WeChartWeb3-master/node_modules/xhr2-cookies/dist/xml-http-request.js:318:14)
at IncomingMessage. (/Users/javedali/Documents/WeChartWeb3-master/node_modules/xhr2-cookies/dist/xml-http-request.js:289:61)
at IncomingMessage.emit (events.js:387:35)
at endReadableNT (internal/streams/readable.js:1317:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
(node:35002) 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: 2)
MAIN_PRICE: 248.33250196119187
MAIN_PRICE: 248.33250196119187

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