Skip to content

Instantly share code, notes, and snippets.

@bonedaddy
Created March 24, 2020 20:04
Show Gist options
  • Save bonedaddy/a0a9c2c7af3015f40420028e7f86cd6d to your computer and use it in GitHub Desktop.
Save bonedaddy/a0a9c2c7af3015f40420028e7f86cd6d to your computer and use it in GitHub Desktop.
$ yarn run preTest
yarn run v1.22.4
warning ../../../package.json: No license field
$ node -r esm src/testing-utils/preTest.js
(node:5548) UnhandledPromiseRejectionWarning: Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3-core-helpers/src/errors.js:42:16)
at XMLHttpRequest.request.onreadystatechange (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3/node_modules/web3-providers-http/src/index.js:73:32)
at XMLHttpRequestEventTarget.dispatchEvent (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3/node_modules/xhr2/lib/xhr2.js:64:18)
at XMLHttpRequest._setReadyState (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3/node_modules/xhr2/lib/xhr2.js:354:12)
at XMLHttpRequest._onHttpRequestError (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3/node_modules/xhr2/lib/xhr2.js:544:12)
at ClientRequest.<anonymous> (/home/solidity/Code/RTradeLtd/ens-app/node_modules/web3/node_modules/xhr2/lib/xhr2.js:414:24)
at ClientRequest.emit (events.js:198:13)
at ClientRequest.EventEmitter.emit (domain.js:448:20)
at Socket.socketErrorListener (_http_client.js:392:9)
at Socket.emit (events.js:198:13)
at Socket.EventEmitter.emit (domain.js:448:20)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
(node:5548) 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(). (rejection id: 1)
(node:5548) [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.
Done in 1.51s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment