Skip to content

Instantly share code, notes, and snippets.

@lsiden
Created February 22, 2014 20:05
Show Gist options
  • Save lsiden/9161456 to your computer and use it in GitHub Desktop.
Save lsiden/9161456 to your computer and use it in GitHub Desktop.
angular-test-patterns run error
lsiden@morpheus [angular-test-patterns] (master=) [1]$ npm test
> [email protected] test /home/lsiden/projects/scratch/angular-test-patterns
> npm run testRules && npm run testPatterns && npm run testExamples
> [email protected] testRules /home/lsiden/projects/scratch/angular-test-patterns
> node spec/rule.tester.js
module.js:340
throw err;
^
Error: Cannot find module './lib/tester.util'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/home/lsiden/projects/scratch/angular-test-patterns/spec/rule.tester.js:2:12)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
npm ERR! [email protected] testRules: `node spec/rule.tester.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] testRules script.
npm ERR! This is most likely a problem with the angular-test-patterns package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node spec/rule.tester.js
npm ERR! You can get their info via:
npm ERR! npm owner ls angular-test-patterns
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.11.0-17-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "run" "testRules"
npm ERR! cwd /home/lsiden/projects/scratch/angular-test-patterns
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/lsiden/projects/scratch/angular-test-patterns/npm-debug.log
npm ERR! not ok code 0
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment