-
Notifications
You must be signed in to change notification settings - Fork 5.8k
problem on win7x64 is not a valid win32 application #12616
Comments
I think you trying to launch Linux binary file. Please check that executable file is presented. |
executable file is present and runnable through command prompt. if you google this bug it's all over the place but reported in different packages. c:\Users\aris\AppData\Roaming\npm>phantomjs |
Could it be a permission issue? See e.g. http://stackoverflow.com/questions/6674431/possible-causes-of-java-io-ioexception-createprocess-error-5. |
no but solved. downloaded version for windows in the path works ok. npm install -g phantomjs and the resulting installation (that has permissions etc and is in the path) not working for win7x64 out of the box |
Hi arisAlexis , can you give more explanation about resolving this problem on win7x64 (without admin permissions)? |
I just downloaded the phantomjs package and installed it normally. Don't use the npm install, something is broken there. |
I was still having this problem when running webdriver-manager - It seems like it's trying to start the unix version instead of the windows .cmd version that is installed. I got around this by just deleting the non cmd version. Please delete if this is not applicable here as it seems more like a webdriver-manager issue. |
12:32:55.383 ERROR - org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "C:\Users\aris\AppDa
ta\Roaming\npm\phantomjs" (in directory "."): CreateProcess error=193, %1 is not a valid Win32 application)
phantomjs installed without errrors and so is npm. running the standalone selenium server and connecting to it produces this error.
The text was updated successfully, but these errors were encountered: