karma: "a" start ./test/karma.conf.js was unexpected at this time."
Expected behaviour
when I ran this script in package.json
"scripts": { "test": "karma start ./test/karma.conf.js",
with yarn test or npm run test it should be able to find karma and run the script
Actual behaviour
Throw an error:
yarn test v0.20.3 $ karma start ./test/karma.conf.js a" start ./test/karma.conf.js was unexpected at this time.
Environment Details
karma : 1.4.1 node: 7.2.0 yarn: 0.20.3 npm: 3.10.9
(The issue is fixed when I downgrade to Karma 1.3.0)
Steps to reproduce the behaviour
- Install Latest version of Karma
- Match your yarn or npm with provided version
- Run the test
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 24 (5 by maintainers)
I managed to circumvent this problem by removing karma-cli from package.json (a globally installed karma-cli does not cause problems)