Changed the dependency resolving for karma-junit and karma-spec by checking if the folder exists in global node_modules folder