I am trying to run tests on Centos 7 in a Node.js environment (6.1.0). After launch
./node_modules/karma/bin/karma --log-level debug start
I get an error message:
Error during loading "karma-phantomjs-launcher" plugin: Path must be a string. Received null
In karma.conf.js, I mentioned plugins and a browser:
'plugins': ['karma-mocha', 'karma-chai', 'karma-sinon', 'karma-chai-sinon', 'karma-coverage', 'karma-jasmine', 'karma-phantomjs-launcher', 'karma-chrome-launcher', 'karma-babel-preprocessor'], browsers: ['PhantomJS'],
I also installed all the plugins locally for the project. All other plugins load without problems.
I also have the same project that runs on Windows 7 without any problems.
Andrzej sawoniewicz
source share