I have an NPM project that uses Jasmine-Node for running unit tests.
My test suite (npm test) runs fine locally, but when I push my commits to GitHub my Travis CI build fails.
https://travis-ci.org/arthurakay/LintRoller/jobs/7002012
Does anyone know what is happening here? I don't think I need "console-browserify" but for some reason the build believes it's necessary.
For reference, see my ./hooks/pre-commit bash script to see where I call the unit test suite.
It was an issue with JSHint, which was corrected in their own repo shortly after I asked this question.
https://github.com/jshint/jshint/commit/28cfa2e369b31afb6ccfb44ee1f0d7df71170133
In short, JSHint now requires console-browserify but at the moment I ran my build their repo was broken (or in some state that broke my build). Having said that, I probably do need to test against a specific version of each of my dependencies.
you could always install console-browserify to check if that solves the error.
npm install -S console-browserify
Perhaps you have console-browserify installed globally on your local machine