Error: spawn UNKNOWN

前端 未结 2 1186
后悔当初
后悔当初 2021-01-23 17:54

I am trying to follow the tutorial at https://docs.angularjs.org/tutorial and have an error running the command

npm run protractor

Here is the

2条回答
  •  一整个雨季
    2021-01-23 18:40

    in your conf.js file change to chromeOnly: false

    exports.config = {
      allScriptsTimeout: 11000,
    
      specs: [
        'e2e/*.js'
      ],
    
      capabilities: {
        'browserName': 'chrome'
      },
    
      chromeOnly: false,
    
      baseUrl: 'http://localhost:8000/',
    
      framework: 'jasmine',
    
      jasmineNodeOpts: {
        defaultTimeoutInterval: 30000
      }
    };
    

    similer issue you can find here #176

提交回复
热议问题