Skip to content

Instantly share code, notes, and snippets.

@michaelsbradleyjr
Last active November 13, 2019 15:20
Show Gist options
  • Save michaelsbradleyjr/5dd776812ee14f3a434896f02230cb35 to your computer and use it in GitHub Desktop.
Save michaelsbradleyjr/5dd776812ee14f3a434896f02230cb35 to your computer and use it in GitHub Desktop.
$ embark test
(node:5802) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_URL]: Invalid URL: [object Object]
at onParseError (internal/url.js:241:17)
at new URL (internal/url.js:319:5)
at parseURL (/Users/michael/repos/embark/node_modules/web3-providers-ws/src/index.js:42:20)
at new WebsocketProvider (/Users/michael/repos/embark/node_modules/web3-providers-ws/src/index.js:75:21)
at Proxy._createWebSocketProvider (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:47:12)
at Proxy._createWebSocketProvider [as handleSubscribe] (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:184:67)
at EmbarkEmitter.call (/Users/michael/repos/embark/packages/core/core/src/events.ts:190:8)
at EmbarkEmitter.emit (events.js:198:13)
at EmbarkEmitter.emit (/Users/michael/repos/embark/packages/core/core/src/events.ts:65:18)
at _emit (/Users/michael/repos/embark/packages/core/core/src/events.ts:132:10)
at new Promise (<anonymous>)
at new Wrapper (/Users/michael/repos/embark/node_modules/core-js-pure/internals/export.js:15:24)
at EmbarkEmitter.request2 (/Users/michael/repos/embark/packages/core/core/src/events.ts:121:19)
at EthSubscribe.request2 [as ethSubscribeResponse] (/Users/michael/repos/embark/packages/plugins/rpc-manager/src/lib/eth_subscribe.ts:35:46)
at call (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:269:23)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:2516:9
at replenish (/Users/michael/repos/embark/node_modules/async/dist/async.js:1011:17)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:1016:9
at eachOfLimit (/Users/michael/repos/embark/node_modules/async/dist/async.js:1041:24)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:1046:16
at Object.reduce (/Users/michael/repos/embark/node_modules/async/dist/async.js:2515:5)
at Plugins.reduce [as runActionsForEvent] (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:259:11)
at Plugins.runActionsForEvent [as emitAndRunActionsForEvent] (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:282:17)
at emitAndRunActionsForEvent (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:334:20)
at new Promise (<anonymous>)
at new Wrapper (/Users/michael/repos/embark/node_modules/core-js-pure/internals/export.js:15:24)
at Proxy.emitActionsForResponse (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:320:12)
at Proxy.emitActionsForResponse [as processRequest] (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:151:39)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:5802) 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: 2)
(node:5802) [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:5802) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_URL]: Invalid URL: [object Object]
at onParseError (internal/url.js:241:17)
at new URL (internal/url.js:319:5)
at parseURL (/Users/michael/repos/embark/node_modules/web3-providers-ws/src/index.js:42:20)
at new WebsocketProvider (/Users/michael/repos/embark/node_modules/web3-providers-ws/src/index.js:75:21)
at Proxy._createWebSocketProvider (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:47:12)
at Proxy._createWebSocketProvider [as handleSubscribe] (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:184:67)
at EmbarkEmitter.call (/Users/michael/repos/embark/packages/core/core/src/events.ts:190:8)
at EmbarkEmitter.emit (events.js:198:13)
at EmbarkEmitter.emit (/Users/michael/repos/embark/packages/core/core/src/events.ts:65:18)
at _emit (/Users/michael/repos/embark/packages/core/core/src/events.ts:132:10)
at new Promise (<anonymous>)
at new Wrapper (/Users/michael/repos/embark/node_modules/core-js-pure/internals/export.js:15:24)
at EmbarkEmitter.request2 (/Users/michael/repos/embark/packages/core/core/src/events.ts:121:19)
at EthSubscribe.request2 [as ethSubscribeResponse] (/Users/michael/repos/embark/packages/plugins/rpc-manager/src/lib/eth_subscribe.ts:35:46)
at call (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:269:23)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:2516:9
at replenish (/Users/michael/repos/embark/node_modules/async/dist/async.js:1011:17)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:1016:9
at eachOfLimit (/Users/michael/repos/embark/node_modules/async/dist/async.js:1041:24)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:1046:16
at Object.reduce (/Users/michael/repos/embark/node_modules/async/dist/async.js:2515:5)
at Plugins.reduce [as runActionsForEvent] (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:259:11)
at Plugins.runActionsForEvent [as emitAndRunActionsForEvent] (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:282:17)
at emitAndRunActionsForEvent (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:334:20)
at new Promise (<anonymous>)
at new Wrapper (/Users/michael/repos/embark/node_modules/core-js-pure/internals/export.js:15:24)
at Proxy.emitActionsForResponse (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:320:12)
at Proxy.emitActionsForResponse [as processRequest] (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:151:39)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:5802) 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: 3)
⠦ Still downloading and installing solc 0.4.25... (3s)
Action for response "eth_subscribe" timed out
✔ Finished downloading and installing solc 0.4.25 in 4s
/Users/michael/repos/embark/dapps/tests/app/.embark/app/contracts/simple_storage_test.sol:25:17: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
function test(uint x) public {
^----^
/Users/michael/repos/embark/dapps/tests/app/.embark/app/contracts/simple_storage_test.sol:25:3: Warning: Function state mutability can be restricted to pure
function test(uint x) public {
^ (Relevant source part starts here and spans across multiple lines).
(node:5802) UnhandledPromiseRejectionWarning: TypeError: this.provider[(intermediate value)(intermediate value)(intermediate value)] is not a function
at RequestManager.send (/Users/michael/repos/embark/node_modules/web3-core-requestmanager/src/index.js:132:66)
at sendRequest (/Users/michael/repos/embark/node_modules/web3-core-method/src/index.js:560:42)
at Eth.send [as getAccounts] (/Users/michael/repos/embark/node_modules/web3-core-method/src/index.js:581:13)
at getAccounts (/Users/michael/repos/embark/packages/plugins/mocha-tests/src/lib/index.js:118:27)
at nextTask (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4578:27)
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4586:13)
at /Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:325:20
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/src/lib/index.js:115:13)
at nextTask (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4578:27)
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4586:13)
at /Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:325:20
at EmbarkEmitter.cb (/Users/michael/repos/embark/packages/stack/contracts-manager/src/index.js:31:7)
at EmbarkEmitter.call (/Users/michael/repos/embark/packages/core/core/src/events.ts:190:8)
at EmbarkEmitter.emit (events.js:198:13)
at EmbarkEmitter.emit (/Users/michael/repos/embark/packages/core/core/src/events.ts:65:18)
at EmbarkEmitter._emit [as request] (/Users/michael/repos/embark/packages/core/core/src/events.ts:177:15)
at request (/Users/michael/repos/embark/packages/plugins/mocha-tests/src/lib/index.js:85:20)
at nextTask (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4578:27)
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4586:13)
at /Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:325:20
at /Users/michael/repos/embark/node_modules/async/dist/async.js:473:16
at /Users/michael/repos/embark/node_modules/async/dist/async.js:2521:9
at /Users/michael/repos/embark/node_modules/async/dist/async.js:473:16
at replenish (/Users/michael/repos/embark/node_modules/async/dist/async.js:1006:25)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:1016:9
at eachOfLimit (/Users/michael/repos/embark/node_modules/async/dist/async.js:1041:24)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:1046:16
at Object.reduce (/Users/michael/repos/embark/node_modules/async/dist/async.js:2515:5)
at Plugins.reduce [as runActionsForEvent] (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:259:11)
at Plugins.runActionsForEvent [as emitAndRunActionsForEvent] (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:282:17)
at emitAndRunActionsForEvent (/Users/michael/repos/embark/packages/stack/deployment/src/index.js:42:20)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:473:16
at next (/Users/michael/repos/embark/node_modules/async/dist/async.js:5329:29)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:969:16
(node:5802) 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: 4)
FAIL "before all" hook in "{root}" > NaNs > 949,216 gas > Timeout of 15000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
(node:5802) UnhandledPromiseRejectionWarning: TypeError: this.provider[(intermediate value)(intermediate value)(intermediate value)] is not a function
at RequestManager.send (/Users/michael/repos/embark/node_modules/web3-core-requestmanager/src/index.js:132:66)
at sendRequest (/Users/michael/repos/embark/node_modules/web3-core-method/src/index.js:560:42)
at Eth.send [as getAccounts] (/Users/michael/repos/embark/node_modules/web3-core-method/src/index.js:581:13)
at getAccounts (/Users/michael/repos/embark/packages/plugins/mocha-tests/src/lib/index.js:118:27)
at nextTask (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4578:27)
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4586:13)
at /Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:325:20
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/src/lib/index.js:115:13)
at nextTask (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4578:27)
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4586:13)
at /Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:325:20
at EmbarkEmitter.cb (/Users/michael/repos/embark/packages/stack/contracts-manager/src/index.js:31:7)
at EmbarkEmitter.call (/Users/michael/repos/embark/packages/core/core/src/events.ts:190:8)
at EmbarkEmitter.emit (events.js:198:13)
at EmbarkEmitter.emit (/Users/michael/repos/embark/packages/core/core/src/events.ts:65:18)
at EmbarkEmitter._emit [as request] (/Users/michael/repos/embark/packages/core/core/src/events.ts:177:15)
at request (/Users/michael/repos/embark/packages/plugins/mocha-tests/src/lib/index.js:85:20)
at nextTask (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4578:27)
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4586:13)
at /Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:325:20
at /Users/michael/repos/embark/node_modules/async/dist/async.js:473:16
at /Users/michael/repos/embark/node_modules/async/dist/async.js:2521:9
at /Users/michael/repos/embark/node_modules/async/dist/async.js:473:16
at replenish (/Users/michael/repos/embark/node_modules/async/dist/async.js:1006:25)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:1016:9
at eachOfLimit (/Users/michael/repos/embark/node_modules/async/dist/async.js:1041:24)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:1046:16
at Object.reduce (/Users/michael/repos/embark/node_modules/async/dist/async.js:2515:5)
at Plugins.reduce [as runActionsForEvent] (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:259:11)
at Plugins.runActionsForEvent [as emitAndRunActionsForEvent] (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:282:17)
at emitAndRunActionsForEvent (/Users/michael/repos/embark/packages/stack/deployment/src/index.js:42:20)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:473:16
at next (/Users/michael/repos/embark/node_modules/async/dist/async.js:5329:29)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:969:16
(node:5802) 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: 5)
FAIL "before all" hook in "{root}" > NaNs > 1,210,618 gas > Timeout of 15000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
(node:5802) UnhandledPromiseRejectionWarning: TypeError: this.provider[(intermediate value)(intermediate value)(intermediate value)] is not a function
at RequestManager.send (/Users/michael/repos/embark/node_modules/web3-core-requestmanager/src/index.js:132:66)
at sendRequest (/Users/michael/repos/embark/node_modules/web3-core-method/src/index.js:560:42)
at Eth.send [as getAccounts] (/Users/michael/repos/embark/node_modules/web3-core-method/src/index.js:581:13)
at getAccounts (/Users/michael/repos/embark/packages/plugins/mocha-tests/src/lib/index.js:118:27)
at nextTask (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4578:27)
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4586:13)
at /Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:325:20
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/src/lib/index.js:115:13)
at nextTask (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4578:27)
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4586:13)
at /Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:325:20
at EmbarkEmitter.cb (/Users/michael/repos/embark/packages/stack/contracts-manager/src/index.js:31:7)
at EmbarkEmitter.call (/Users/michael/repos/embark/packages/core/core/src/events.ts:190:8)
at EmbarkEmitter.emit (events.js:198:13)
at EmbarkEmitter.emit (/Users/michael/repos/embark/packages/core/core/src/events.ts:65:18)
at EmbarkEmitter._emit [as request] (/Users/michael/repos/embark/packages/core/core/src/events.ts:177:15)
at request (/Users/michael/repos/embark/packages/plugins/mocha-tests/src/lib/index.js:85:20)
at nextTask (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4578:27)
at next (/Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:4586:13)
at /Users/michael/repos/embark/packages/plugins/mocha-tests/node_modules/async/dist/async.js:325:20
at /Users/michael/repos/embark/node_modules/async/dist/async.js:473:16
at /Users/michael/repos/embark/node_modules/async/dist/async.js:2521:9
at /Users/michael/repos/embark/node_modules/async/dist/async.js:473:16
at replenish (/Users/michael/repos/embark/node_modules/async/dist/async.js:1006:25)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:1016:9
at eachOfLimit (/Users/michael/repos/embark/node_modules/async/dist/async.js:1041:24)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:1046:16
at Object.reduce (/Users/michael/repos/embark/node_modules/async/dist/async.js:2515:5)
at Plugins.reduce [as runActionsForEvent] (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:259:11)
at Plugins.runActionsForEvent [as emitAndRunActionsForEvent] (/Users/michael/repos/embark/packages/core/core/src/plugins.ts:282:17)
at emitAndRunActionsForEvent (/Users/michael/repos/embark/packages/stack/deployment/src/index.js:42:20)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:473:16
at next (/Users/michael/repos/embark/node_modules/async/dist/async.js:5329:29)
at /Users/michael/repos/embark/node_modules/async/dist/async.js:969:16
(node:5802) 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: 6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment