-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Experienced Error: spawn ENOENT on Windows 8 Node v0.10.18 #187
Comments
Fixed with webdriver-manager |
I seem to have the same problem:
The exports.config = {
capabilities: {
'browserName': 'internet explorer',
}
specs: ['test/e2e/spec/**/*.defs.js'],
allScriptsTimeout: 60000,
jasmineNodeOpts: {
defaultTimeoutInterval: 60000,
},
baseUrl: 'http://localhost:8500',
rootElement: 'html',
onPrepare: function onPrepare() {
var disableNgAnimate = function () {
angular.module('disableNgAnimate', []).run(function ($animate) {
$animate.enabled(false);
});
};
browser.addMockModule('disableNgAnimate', disableNgAnimate);
},
params: {
settings: require('./app/settings'),
},
}; I tried on Windows 7 64-bit. Everything was run using Git-Bash. |
same issue, (I'm also using Windows 7 64-bit and Git-Bash) $ protractor test/e2e/protractor.conf.js events.js:72 |
I encountered this issue too when running protractor on a fresh install of angular-seed. The solution in my case was:
|
Thanks @warrensearle chromeOnly: true, fixed the issue. But not sure why I need it. |
chromeOnly:true was the solution for me as well, thangs @warrensearle |
Ditto to the last message I still get this issue |
I am getting this error as well. I tested on OSX with the same config and works fine. I am trying to target phantomjs. |
chromeOnly didn't work for me either. I had to add the java bin directory to my path for it to work. |
I created some tests and they worked fine on my mac. On my Windows 8 machine it generated an error spawn child ENOENT error. This is because java was not installed on the machine (which is required by selenium standalone) and there was no system path environment variable to the java bin directory. I installed java and added system path environment variable to the java bin directory which resolved the issue. Could be worth adding this in the readme.
The text was updated successfully, but these errors were encountered: