Skip to content

Instantly share code, notes, and snippets.

@garrettr
Created June 9, 2017 07:12
Show Gist options
  • Save garrettr/90d55fd703f9329ee60213ad52106ed4 to your computer and use it in GitHub Desktop.
Save garrettr/90d55fd703f9329ee60213ad52106ed4 to your computer and use it in GitHub Desktop.
sunder npm run test output
sunder ~> npm run test
> sunder@0.1.0 test /Users/garrett/code/freedomofpress/sunder
> cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --require ./test/setup.js test/**/*.spec.js
Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning.
action %c@@router/LOCATION_CHANGE %c@ 00:11:43.708
%c prev state color: #9E9E9E; font-weight: bold { routing: { locationBeforeTransitions: null },
split: {},
recover:
{ shares: [],
shareProperties: {},
secret: null,
inProgress: false,
error: null },
form: {} }
%c action color: #03A9F4; font-weight: bold { type: '@@router/LOCATION_CHANGE',
payload:
{ pathname: '/',
search: '',
hash: '',
state: undefined,
action: 'POP',
key: null,
query: {} } }
%c next state color: #4CAF50; font-weight: bold { routing:
{ locationBeforeTransitions:
{ pathname: '/',
search: '',
hash: '',
state: undefined,
action: 'POP',
key: null,
query: {} } },
split: {},
recover:
{ shares: [],
shareProperties: {},
secret: null,
inProgress: false,
error: null },
form: {} }
—— log end ——
action %cRESET %c@ 00:11:43.771
%c prev state color: #9E9E9E; font-weight: bold { routing:
{ locationBeforeTransitions:
{ pathname: '/',
search: '',
hash: '',
state: undefined,
action: 'POP',
key: null,
query: {} } },
split: {},
recover:
{ shares: [],
shareProperties: {},
secret: null,
inProgress: false,
error: null },
form: {} }
%c action color: #03A9F4; font-weight: bold { type: 'RESET' }
%c next state color: #4CAF50; font-weight: bold { routing:
{ locationBeforeTransitions:
{ pathname: '/',
search: '',
hash: '',
state: undefined,
action: 'POP',
key: null,
query: {} } },
split: {},
recover:
{ shares: [],
shareProperties: {},
secret: null,
inProgress: false,
error: null },
form: {} }
—— log end ——
/Users/garrett/code/freedomofpress/sunder/node_modules/bindings/bindings.js:83
throw e
^
Error: Module version mismatch. Expected 48, got 53.
at Error (native)
at Object.Module._extensions..node (module.js:597:18)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at bindings (/Users/garrett/code/freedomofpress/sunder/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/Users/garrett/code/freedomofpress/sunder/node_modules/ref/lib/ref.js:5:47)
at Module._compile (module.js:570:32)
at Module._extensions..js (module.js:579:10)
at Object.require.extensions.(anonymous function) [as .js] (/Users/garrett/code/freedomofpress/sunder/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/garrett/code/freedomofpress/sunder/node_modules/ffi/lib/ffi.js:6:11)
at Module._compile (module.js:570:32)
at Module._extensions..js (module.js:579:10)
at Object.require.extensions.(anonymous function) [as .js] (/Users/garrett/code/freedomofpress/sunder/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/garrett/code/freedomofpress/sunder/node_modules/rusty-secrets/nodejs/index.js:2:12)
at Module._compile (module.js:570:32)
at Module._extensions..js (module.js:579:10)
at Object.require.extensions.(anonymous function) [as .js] (/Users/garrett/code/freedomofpress/sunder/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/garrett/code/freedomofpress/sunder/test/lib/crypto.spec.js:3:23)
at Module._compile (module.js:570:32)
at loader (/Users/garrett/code/freedomofpress/sunder/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/garrett/code/freedomofpress/sunder/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at /Users/garrett/code/freedomofpress/sunder/node_modules/mocha/lib/mocha.js:230:27
at Array.forEach (native)
at Mocha.loadFiles (/Users/garrett/code/freedomofpress/sunder/node_modules/mocha/lib/mocha.js:227:14)
at Mocha.run (/Users/garrett/code/freedomofpress/sunder/node_modules/mocha/lib/mocha.js:495:10)
at Object.<anonymous> (/Users/garrett/code/freedomofpress/sunder/node_modules/mocha/bin/_mocha:469:18)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3
npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "test"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! sunder@0.1.0 test: `cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --require ./test/setup.js test/**/*.spec.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sunder@0.1.0 test script 'cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --require ./test/setup.js test/**/*.spec.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the sunder package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --require ./test/setup.js test/**/*.spec.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs sunder
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls sunder
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/garrett/code/freedomofpress/sunder/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment