2 if which node_modules
/karma
/bin
/karma
>> /dev
/null
; then
3 if which nodejs
>> /dev
/null
; then
5 nodejs node_modules
/karma
/bin
/karma start
8 node node_modules
/karma
/bin
/karma start
10 elif which karma
>> /dev
/null
; then
13 echo "ERROR: Failed to find karma"