okfn / timemapper

Create and share elegant timelines and timemaps fast
http://timemapper.okfnlabs.org/
MIT License
274 stars 60 forks source link

npm run test failed. #146

Closed hychen closed 10 years ago

hychen commented 10 years ago

Summary

  1. tests are failed when typing 'npm run test'. (but just mocha command runs test without any exception error.)

    Additional Information

branch: master command: npm run test error logs:

/Users/hychen/github/hychen/timemapper/node_modules/mocha/bin/_mocha:439 if (!files.length) throw new Error("cannot resolve path (or pattern) '" ^ Error: cannot resolve path (or pattern) 'tests/' at lookupFiles (/Users/hychen/github/hychen/timemapper/node_modules/mocha/bin/_mocha:439:32) at runAgain (/Users/hychen/github/hychen/timemapper/node_modules/mocha/bin/_mocha:291:24) at Array.forEach (native) at Object. (/Users/hychen/github/hychen/timemapper/node_modules/mocha/bin/_mocha:290:6) 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:901:3

npm ERR! hypernotes@0.2.0 test: mocha tests/ npm ERR! Exit status 8 npm ERR! npm ERR! Failed at the hypernotes@0.2.0 test script. npm ERR! This is most likely a problem with the hypernotes package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! mocha tests/ npm ERR! You can get their info via: npm ERR! npm owner ls hypernotes npm ERR! There is likely additional logging output above. npm ERR! System Darwin 13.2.0 npm ERR! command "/usr/local/Cellar/node/0.10.22/bin/node" "/usr/local/bin/npm" "run" "test" npm ERR! cwd /Users/hychen/github/hychen/timemapper npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.14 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/hychen/github/hychen/timemapper/npm-debug.log npm ERR! not ok code 0