Open JimLynchCodes opened 7 years ago
Just tried on an earlier machine and same error. I think there is an issue with with karma-cucumberjs project. I'm using AngularJS 1.5, ES5 scaffolded from the gulp-Angular Generator.
npm -v: 2.14.12 node -v: v4.3.1
please help. :(
Thanks.
run npm install -g karma-cucumberjs and after npm install karma-cucumberjs --save-dev
Holy coconut fingers! I had already said "screw this project", put a mystical curse on the family of @s9tpepper, and started using "karma-cucumber-js" instead! I was so sad about not being able to run "cucumberized" AngularJS unit tests that I almost spiraled into a depression where I end up as a homeless accordion player begging for money in subways. Luckily, this delicious almond butter and sprouted pumpkin seeds allowed me to keep my wits long enough to wait it out before this Portuguese angel of BDD came to deliver his message with wisdom and compassion. If there was an automated test that would assert whether @raynerweb was awesome, I'd say that test would pass.
I could have sworn I ran those commands already, but I'll try again later tonight. Thanks @raynerweb!
@raynerweb Sadly, running these commands did not help at all. :'(
here was a POC, i ran thats command: npm install -g cucumber karma-chrome-launcher karma-cucumberjs karma-phantomjs-launcher npm install cucumber karma-chrome-launcher karma-cucumberjs karma-phantomjs-launcher --save-dev
look for https://github.com/raynerweb/poc-cucumber is an example
peace
Thanks! Have you ever used this on an actual project though? When I try to actually bring in my source code files it says, "angular is not defined". Also, it's very confusing to have an example with no README. Just saying.
Hello, I followed the guidelines in the instructions, but I am getting this strange error. Any thoughts how I can fix this?