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
Can not work well on windows 10 #14
Comments
Appears to be an issue in the way path has been given. Can you provide some more inputs or perhaps a sample of file/module under /common folder? I do not seem to have any issues running this repo on my windows 10. |
I just download the source code,do "npm install" & "npm run test", then ... |
I see an issue in the path you supplied. I think github is suppressing the forwardslash (/) and backslashes (\) making it hard to understand what is the actual path in error. Also seems the 'n' in node_module is treated as new line and ode_modules moved to next line. You can use backslash (\) to escape special characters and use 'Preview' before hitting comment to be sure. Coming to the issue, nothing appears to be abnormal. including the "npm run test" command which simply runs the default *.feature files supplied in this repo. |
Modified 'cypress/integration/common/I_see_STRING_in_the_title.js' 'cypress/integration/news/Google/different.js' 'cypress/integration/news/Google/openingGoogle.js' 'cypress/integration/socialNetworks/Facebook/different.js' 'cypress/integration/socialNetworks/Facebook/openingFacebook.js' 'cypress/integration/socialNetworks/Twitter/openingTwitter.js' then: |
Just modifying packaje json like this does the trick
The issue with Windows 10 started with a modification that went into 1.19.0 |
|
FYI with version 2.0.1 this has been fixed. |
Error: Cannot find module 'E:democypress-cucumber-example
ode_modulescypress-cucumber-preprocessorlib/createTestsFromFeature' from 'E:\demo\cypress-cucumber-example\cypress\integration\common'
The text was updated successfully, but these errors were encountered: