gruntjs - karma:unit fails with tmp browserify errors -
i'm having following issue , i'm developer in team of 6 experiencing issue.
when run following command: $ grunt unit (task: clean:reports install_custom_coverage karma:unit), receive following result:
... debug [web-server]: serving: c:\dev\life-web_components\node_modules\karma\static/context.html phantomjs 1.9.8 (windows 7) error test run cancelled because file contains errors: c:/cygwin/tmp/2cfb2e9479b44a59f6d3c57d366bd5b4.browserify ie 8.0.0 (windows 7) error test run cancelled because file contains errors: c:/cygwin/tmp/2cfb2e9479b44a59f6d3c57d366bd5b4.browserify chrome 41.0.2272 (windows 7) error test run cancelled because file contains errors: c:/cygwin/tmp/2cfb2e9479b44a59f6d3c57d366bd5b4.browserify debug [karma]: run complete, exiting. debug [launcher]: disconnecting browsers debug [framework.browserify]: cleaning debug [launcher]: process phantomjs exited code 0 debug [temp-dir]: cleaning temp dir c:\cygwin\tmp\karma-34162292 debug [launcher]: process chrome exited code 0 debug [temp-dir]: cleaning temp dir c:\cygwin\tmp\karma-61774528 debug [reporter.junit]: junit results written "c:/dev/life-web_components/reports/unit_tests.xml". debug [launcher]: killed ie process 6528 debug [launcher]: process ie exited code 0 debug [temp-dir]: cleaning temp dir c:\cygwin\tmp\karma-94332604 warning: task "karma:unit" failed. use --force continue. aborted due warnings.
i've tried range of suggestions, restarting cmder, restarting machine, deleting node_modules, reinstalling global node modules, set autowatch false , various other attempts no luck.
as i'm developer in team experiencing issue, appears environment related.
it turned out component in our repo required npm install
within directory install it's dependencies.
Comments
Post a Comment