-
Notifications
You must be signed in to change notification settings - Fork 82
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
Spaces in File Path #64
Comments
same issue here as well, the plugin doesnt work well with spaces in file path |
I got this issue as well, the problem for we is it's in my User folder and my user name contains a space.. |
Any news on this issue? |
I'll take a look at this later this week, thanks for the detailed report. |
@mattfritz any news? I'm encountering the same issue |
I have changes pushed to the |
Hello @mattfritz, Get the same error, so I give a try to your solution. First, Just in case, I replace exec by execFile and get another error :
Working directory being : "C:\Program Files...", Protractor search my config file in this directory. To correct this I just wrap
Now it seems to work. Hope this help you. |
I just realised : with |
@Charlynux by any chance have you found any other fix? |
I discover that changing the working directory (via cwd option) have some drawbacks. In my case, I use a plugin for screenshots and pictures are saved relative to the working directory. So, I just move my Jenkins directory to a path without space... |
Utilizing changes proposed by @svantreeck that allow spaces in the project's path and allowing options to be passed to webdriver_update. Closes mllrsohn#64 Spaces in File Path
I have a PR in for this fix. |
+1 This is also affecting me on Windows |
I've been currently working on a TFS Build which will spin up selenium and run protractor tests against a deployment.
Whilst setting this up, i noticed that if my folder path for where the node_modules folder is located contains a space, gulp protractor bombs out when trying to reference one of the file paths.
For example:
'c:\dev\folder\node_modules\gulp-protractor' works absolutely fine
'c:\dev\new folder\node_modules\gulp-protractor' will throw an error along the lines of 'c:\dev\new' is an unrecognised command'
I managed to get round the error by just re-working how my folder paths are named, but thought i'd mention anyway!
The text was updated successfully, but these errors were encountered: