Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No Provider for "framework:cucumberjs"! #21

Open
JimLynchCodes opened this issue Jul 20, 2016 · 6 comments
Open

Error: No Provider for "framework:cucumberjs"! #21

JimLynchCodes opened this issue Jul 20, 2016 · 6 comments

Comments

@JimLynchCodes
Copy link

Hello, I followed the guidelines in the instructions, but I am getting this strange error. Any thoughts how I can fix this?

ng-nj_org_ -bash _122x20

@JimLynchCodes
Copy link
Author

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.

ng-nj_org_ -bash _135x24

npm -v: 2.14.12
node -v: v4.3.1

please help. :(

Thanks.

@raynerweb
Copy link

run
npm install -g karma-cucumberjs
and after
npm install karma-cucumberjs --save-dev

@JimLynchCodes
Copy link
Author

JimLynchCodes commented Aug 8, 2016

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!

@JimLynchCodes
Copy link
Author

@raynerweb Sadly, running these commands did not help at all. :'(

@raynerweb
Copy link

raynerweb commented Aug 12, 2016

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

@JimLynchCodes
Copy link
Author

JimLynchCodes commented Aug 14, 2016

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.

flexbox-push-drawer-example_ google_chrome_helper node_node_modules_karma_bin_karma_start_karma-c-stepper_conf_js _157x27_and_karma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants