node.js - karma test pass but npm test give error -


i use https://github.com/angularclass/angular2-webpack-starter , have foloowing problem: when i'm in project directory , run

karma start 

then get:

summary:

✔ 0 tests completed

but when run:

npm test 

i get:

summary:

✔ 0 tests completed

npm err! test failed. see above more details.

if run:

npm run test 

i get:

summary: ✔ 0 tests completed  npm err! darwin 16.1.0 npm err! argv "/usr/local/cellar/node/7.1.0/bin/node" "/usr/local/bin/npm" "run" "test" npm err! node v7.1.0 npm err! npm  v4.0.2 npm err! code elifecycle npm err! angular2-webpack-starter@5.0.5 test: `karma start` npm err! exit status 1 npm err!  npm err! failed @ angular2-webpack-starter@5.0.5 test script 'karma start'. npm err! make sure have latest version of node.js , npm installed. npm err! if do, problem angular2-webpack-starter package, npm err! not npm itself. npm err! tell author fails on system: npm err!     karma start npm err! can information on how open issue project with: npm err!     npm bugs angular2-webpack-starter npm err! or if isn't available, can info via: npm err!     npm owner ls angular2-webpack-starter npm err! there additional logging output above.  npm err! please include following file support request: npm err!     /users/kamil/desktop/code/officewise/officewise_frontend/npm-debug.log 

any idea remove npm err? important me because use external system run tests , report errors of new commits in repository (my node version v7.1.0 (lastest), npm version 4.0.2 (lastest), mac os sierra).


Comments

Popular posts from this blog

Formatting string according to pattern without regex in php -

c - zlib and gdi32 with OpenSSL? -

java - inputmismatch exception -