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

Cucumber.js not working on windows7 64bit #47

Closed
ChannelHil opened this issue Mar 7, 2012 · 5 comments
Closed

Cucumber.js not working on windows7 64bit #47

ChannelHil opened this issue Mar 7, 2012 · 5 comments

Comments

@ChannelHil
Copy link

Good day
I tried to set the test up with Windows, but it is not working. It works with Mac OS and with Linux.
My node version is 0.6.10

The test is:

Feature: Test

It throws an error when I run the test. The error is: ReferenceError: Test is not defined.

Do you maybe have any suggestions what could be wrong?

Regards,
Channel

@ChannelHil
Copy link
Author

Hi
I have executed one of the built-in tests and this is the stack trace:

$ bin/cucumber.js features/background.feature

c:\Users\C5168959\git\cucumber-js\features\background.feature:3
Background allows you to add some context to the scenarios in a
^^^^^^

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Unexpected identifier
at Module._compile (module.js:429:25)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at c:\Users\C5168959\git\cucumber-js\lib\cucumber\cli\support_code_loader.js
:56:29
at Array.forEach (native)
at Object. (c:\Users\C5168959\git\cucumber-js\lib\cucumber\cli\su
pport_code_loader.js:55:15)
at Object. (c:\Users\C5168959\git\cucumber-js\lib\cucumber\cli\su
pport_code_loader.js:17:41)

@jbpros
Copy link
Member

jbpros commented Mar 7, 2012

Thanks for reporting this. I think you are the first person to date trying to run Cucumber.js on a Windows environment. We should definitely take better care of Windows platforms.

At first glance, it seems the feature source is considered as JavaScript code there. I'll try installing a Windows VM on my Mac and get back to you.

@jbpros jbpros closed this as completed in 4839ae4 Mar 7, 2012
@jbpros
Copy link
Member

jbpros commented Mar 7, 2012

It was - as expected - a slash issue in some code handling paths.

@ChannelHil I hope this fixes your issue.

@ChannelHil
Copy link
Author

Good day
Thank you for the quick response. It is now working.
Regards,
Channel

@lock
Copy link

lock bot commented Oct 25, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants