Discussion:
[Cucumber] Error running 'fooTest.feature': cannot run program "/usr/local/bin/cucumber.js" (in director "/...
(too old to reply)
Drew
2018-01-10 16:16:36 UTC
Permalink
Raw Message
Hi-

I created a new (Maven) project in IntelliJ for cucumber. Set up a quick
login test for this and when I right click on the feature file to run, I
get the below error message. Not entirely sure how to correct.

Error running 'loginTest.feature': Cannot run program
"/usr/local/bin/cucumber.js" (in directory
"/Users/drew/IdeaProjects/vueQa/src/test"): error=2, No such file or
directory

Any guidance would be appreciated.

Thanks,
Drew
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thomas Sundberg
2018-01-11 16:21:56 UTC
Permalink
Raw Message
Hi!
Post by Drew
Hi-
I created a new (Maven) project in IntelliJ for cucumber. Set up a quick
login test for this and when I right click on the feature file to run, I get
the below error message. Not entirely sure how to correct.
Error running 'loginTest.feature': Cannot run program
"/usr/local/bin/cucumber.js" (in directory
"/Users/drew/IdeaProjects/vueQa/src/test"): error=2, No such file or
directory
This a very unexpected error. You say that you built a Maven project.
Therefore I assume that you mean that you will build a Java project.
But the error talks about "cucumber.js" which to me is a JavaScript
thingy. Java and JavaSvript share parts of the name, but not much
more. Two very different things.

Please share how you
* invoke your execution, which command did you execute
* where your feature files are stored
* where your steps are implemented

It might be easier for you to use the getting started project supplied
by the Cucumber Team, it is availabe here:
https://github.com/cucumber/cucumber-java-skeleton
Clone it and run it as a Maven project.

Cheers,
Thomas
Post by Drew
Any guidance would be appreciated.
Thanks,
Drew
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Thomas Sundberg
M. Sc. in Computer Science

Mobile: +46 70 767 33 15
Blog: http://www.thinkcode.se/blog
Twitter: @thomassundberg

Better software through faster feedback
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Drew
2018-01-15 21:45:58 UTC
Permalink
Raw Message
Hi Thomas,

Issue is resolved. Thank you though.
Post by Thomas Sundberg
Hi!
Post by Drew
Hi-
I created a new (Maven) project in IntelliJ for cucumber. Set up a quick
login test for this and when I right click on the feature file to run, I
get
Post by Drew
the below error message. Not entirely sure how to correct.
Error running 'loginTest.feature': Cannot run program
"/usr/local/bin/cucumber.js" (in directory
"/Users/drew/IdeaProjects/vueQa/src/test"): error=2, No such file or
directory
This a very unexpected error. You say that you built a Maven project.
Therefore I assume that you mean that you will build a Java project.
But the error talks about "cucumber.js" which to me is a JavaScript
thingy. Java and JavaSvript share parts of the name, but not much
more. Two very different things.
Please share how you
* invoke your execution, which command did you execute
* where your feature files are stored
* where your steps are implemented
It might be easier for you to use the getting started project supplied
https://github.com/cucumber/cucumber-java-skeleton
Clone it and run it as a Maven project.
Cheers,
Thomas
Post by Drew
Any guidance would be appreciated.
Thanks,
Drew
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google
Groups
Post by Drew
"Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by Drew
For more options, visit https://groups.google.com/d/optout.
--
Thomas Sundberg
M. Sc. in Computer Science
Mobile: +46 70 767 33 15
Blog: http://www.thinkcode.se/blog
Better software through faster feedback
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jack Lu
2018-07-24 22:17:17 UTC
Permalink
Raw Message
Hi Drew,

One of my colleagues run into the same error. Can you share how did you
solve it?

Thanks,
Jack
Post by Drew
Hi-
I created a new (Maven) project in IntelliJ for cucumber. Set up a quick
login test for this and when I right click on the feature file to run, I
get the below error message. Not entirely sure how to correct.
Error running 'loginTest.feature': Cannot run program
"/usr/local/bin/cucumber.js" (in directory
"/Users/drew/IdeaProjects/vueQa/src/test"): error=2, No such file or
directory
Any guidance would be appreciated.
Thanks,
Drew
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...