Bahmniapps: Grunt "coverage" task failing

Hello all,

fyi, I’m working on Bahmniapps and the grunt “coverage” task is failing for me with the following error message:

mogoodrich@mogoodrich-ThinkPad-T510:~/bahmni-code/openmrs-module-bahmniapps/ui$ grunt coverage Running “coverage” task Fatal error: Cannot read property ‘length’ of undefined

I’m running Ubuntu 14.04. I can look into it further, but was wondering if this was a known issue. Not a blocker, either, because I can temporarily skip the “coverage” task during a build.

Thanks! Mark

This is a known issue. We faced it a few times. I guess it is because of the outdated coverage directory. We had to delete it manually to get it to working.

Remove openmrs-module-bahmniapps/ui/coverage directory.

1 Like