-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
trouble running cucumber-js under windows #60
Comments
Thank you for reporting this. I've tried running Cucumber.js on Windows and I get the same errors as you do. I'll fix it. |
I just received this error message: Script: c.:\ users.currentuser\appdata\roaming\npm\cucumber.js line:1 on a new install of node 0.8.8 and a new npm install of cucumber. Thanks. |
@Jon-Biz Try running |
@jbpros works fine, thanks! :-) |
Hi @jbpros, I use cucumber-js instead of cucumber.js, but the other error still exist, do you know how to solve it? |
I get the same error. Any updates on this? |
Error:
|
Do you have a question about that error? It tells you what needs to be done. |
@charlierudolph Sorry I passed wrong one.. Thanks for pointing.
|
@charlierudolph Executed path I made c:/ |
I got the same issue when I run command "cucumber.js". to fix it i just ran ">cucumber" and it worked perfectly well. |
@ShailendraPrSingh See the note to Windows users on https://github.com/cucumber/cucumber-js/blob/master/docs/cli.md#cli |
@vvedachalam I AM ALSO FACING SAME iSSUE.hOW DID YOU CHANGE THE PATH? |
Can Someone please tell me how can I change the executable path to local path?? |
If you installed cucumber globally, uninstall it. Then from your project path, run |
@charlierudolph I had the same error but on mac, followed your steps and works for me, thanks :) |
Hi can u help with the same |
Could you please tell how did you changed c into capital C ? |
FWIW I was running this in the git bash and the script was running under c:\users... and was getting the error mentioned above, I switched over to a windows command prompt and ran the same npm test command and it ran ok. Under cmd, the path it was running was c:\Users... |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
have followed the guidance, installed nodejs via msi. file
after that npm install would work only under c:\programfiles \nodejs. and everytime copied my whole workshop folder structure under node.js.
i tried both local and global npm run. after restrating machine i was able to run npm install to run under my workshop as workshopfolder\npm install --dev
it went smooth with instaling
however when i type @node_env=test .. as in guidance. it keep saying that it s not recognized command
however when i type cucumber.js it gives me script error pop up.
saying :
Script:
c.:\ users.currentuser\appdata\roaming\npm\cucumber.js
line:1
char:1
error:invalid character
code:800a03f6
source: miscrosoft jscript compilation error
when i open c.:\ users.currentuser\appdata\roaming\npm\cucumber.js i am having this
!/bin/sh
if [ -x "
dirname "$0"
/node" ]; then"
dirname "$0"
/node" "dirname "$0"
/../cucumber/bin/cucumber.js" "$@"ret=$?
else
node "
dirname "$0"
/../cucumber/bin/cucumber.js" "$@"ret=$?
fi
exit $ret
thanks for prompt response #jbpros
The text was updated successfully, but these errors were encountered: