Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kevindjacobson/b42e7442c4db1675cb89e810ad3c7465 to your computer and use it in GitHub Desktop.
Save kevindjacobson/b42e7442c4db1675cb89e810ad3c7465 to your computer and use it in GitHub Desktop.
Starting hubot_redis_1 ...
Starting hubot_postgres_1 ...
 Starting hubot_redis_1 ... done  Starting hubot_postgres_1 ... done yarn run v1.5.1
$ mocha -R spec
module.js:478
throw err;
^
Error: Cannot find module 'app-module-path'
at Function.Module._resolveFilename (module.js:476:15)
at Function.Module._load (module.js:424:25)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/app/test/test_helper.coffee:9:1)
at Object.<anonymous> (/app/test/test_helper.coffee:1:1)
at Module._compile (module.js:577:32)
at Object.loadFile (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/register.js:16:19)
at Module.load (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at requires.forEach.mod (/usr/local/lib/node_modules/mocha/bin/_mocha:469:3)
at Array.forEach (native)
at Object.<anonymous> (/usr/local/lib/node_modules/mocha/bin/_mocha:468:10)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:387:7)
at startup (bootstrap_node.js:153:9)
at bootstrap_node.js:500:3
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c mocha -R spec
Directory: /app
Output:
".
info If you think this is a bug, please open a bug report with the information provided in "/app/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment