{"action":"created","issue":{"url":"https://api.github.com/repos/rochejul/gulp-angular-protractor/issues/34","repository_url":"https://api.github.com/repos/rochejul/gulp-angular-protractor","labels_url":"https://api.github.com/repos/rochejul/gulp-angular-protractor/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/rochejul/gulp-angular-protractor/issues/34/comments","events_url":"https://api.github.com/repos/rochejul/gulp-angular-protractor/issues/34/events","html_url":"https://github.com/rochejul/gulp-angular-protractor/issues/34","id":203337697,"number":34,"title":"Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:48107 for gulp protractor","user":{"login":"caneraydinbey","id":17731063,"avatar_url":"https://avatars.githubusercontent.com/u/17731063?v=3","gravatar_id":"","url":"https://api.github.com/users/caneraydinbey","html_url":"https://github.com/caneraydinbey","followers_url":"https://api.github.com/users/caneraydinbey/followers","following_url":"https://api.github.com/users/caneraydinbey/following{/other_user}","gists_url":"https://api.github.com/users/caneraydinbey/gists{/gist_id}","starred_url":"https://api.github.com/users/caneraydinbey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caneraydinbey/subscriptions","organizations_url":"https://api.github.com/users/caneraydinbey/orgs","repos_url":"https://api.github.com/users/caneraydinbey/repos","events_url":"https://api.github.com/users/caneraydinbey/events{/privacy}","received_events_url":"https://api.github.com/users/caneraydinbey/received_events","type":"User","site_admin":false},"labels":[{"id":163061187,"url":"https://api.github.com/repos/rochejul/gulp-angular-protractor/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":{"login":"rochejul","id":244999,"avatar_url":"https://avatars.githubusercontent.com/u/244999?v=3","gravatar_id":"","url":"https://api.github.com/users/rochejul","html_url":"https://github.com/rochejul","followers_url":"https://api.github.com/users/rochejul/followers","following_url":"https://api.github.com/users/rochejul/following{/other_user}","gists_url":"https://api.github.com/users/rochejul/gists{/gist_id}","starred_url":"https://api.github.com/users/rochejul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rochejul/subscriptions","organizations_url":"https://api.github.com/users/rochejul/orgs","repos_url":"https://api.github.com/users/rochejul/repos","events_url":"https://api.github.com/users/rochejul/events{/privacy}","received_events_url":"https://api.github.com/users/rochejul/received_events","type":"User","site_admin":false},"assignees":[{"login":"rochejul","id":244999,"avatar_url":"https://avatars.githubusercontent.com/u/244999?v=3","gravatar_id":"","url":"https://api.github.com/users/rochejul","html_url":"https://github.com/rochejul","followers_url":"https://api.github.com/users/rochejul/followers","following_url":"https://api.github.com/users/rochejul/following{/other_user}","gists_url":"https://api.github.com/users/rochejul/gists{/gist_id}","starred_url":"https://api.github.com/users/rochejul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rochejul/subscriptions","organizations_url":"https://api.github.com/users/rochejul/orgs","repos_url":"https://api.github.com/users/rochejul/repos","events_url":"https://api.github.com/users/rochejul/events{/privacy}","received_events_url":"https://api.github.com/users/rochejul/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2017-01-26T10:30:36Z","updated_at":"2017-02-17T13:25:22Z","closed_at":null,"body":"    vegan@vegan:~/xxx-yyy/gateway$ gulp protractor qa\r\n    [10:52:58] Using gulpfile ~/xxx-yyy/gateway/gulpfile.js\r\n    [10:52:58] Starting 'protractor'...\r\n    [10:52:58] Starting 'qa'...\r\n    [10:52:58] Finished 'qa' after 76 μs\r\n    Using ChromeDriver directly...\r\n    [launcher] Running 1 instances of WebDriver\r\n    \r\n    /home/vegan/xxx-yyy/gateway/node_modules/selenium-webdriver/http/index.js:174\r\n          callback(new Error(message));\r\n                   ^\r\n    Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:48107\r\n        at ClientRequest.<anonymous> (/home/vegan/xxx-yyy/gateway/node_modules/selenium-webdriver/http/index.js:174:16)\r\n        at emitOne (events.js:90:13)\r\n        at ClientRequest.emit (events.js:182:7)\r\n        at Socket.socketErrorListener (_http_client.js:306:9)\r\n        at emitOne (events.js:90:13)\r\n        at Socket.emit (events.js:182:7)\r\n        at emitErrorNT (net.js:1265:8)\r\n        at _combinedTickCallback (internal/process/next_tick.js:74:11)\r\n        at process._tickCallback (internal/process/next_tick.js:98:9)\r\n    From: Task: WebDriver.createSession()\r\n        at Function.webdriver.WebDriver.acquireSession_ (/home/vegan/xxx-yyy/gateway/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:157:22)\r\n        at Function.webdriver.WebDriver.createSession (/home/vegan/xxx-yyy/gateway/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:131:30)\r\n        at new Driver (/home/vegan/xxx-yyy/gateway/node_modules/selenium-webdriver/chrome.js:810:36)\r\n        at [object Object].DirectDriverProvider.getNewDriver (/home/vegan/xxx-yyy/gateway/node_modules/gulp-protractor/node_modules/protractor/lib/driverProviders/direct.js:68:16)\r\n        at [object Object].Runner.createBrowser (/home/vegan/xxx-yyy/gateway/node_modules/gulp-protractor/node_modules/protractor/lib/runner.js:186:37)\r\n        at /home/vegan/xxx-yyy/gateway/node_modules/gulp-protractor/node_modules/protractor/lib/runner.js:276:21\r\n        at _fulfilled (/home/vegan/xxx-yyy/gateway/node_modules/gulp-protractor/node_modules/q/q.js:797:54)\r\n        at self.promiseDispatch.done (/home/vegan/xxx-yyy/gateway/node_modules/gulp-protractor/node_modules/q/q.js:826:30)\r\n        at Promise.promise.promiseDispatch (/home/vegan/xxx-yyy/gateway/node_modules/gulp-protractor/node_modules/q/q.js:759:13)\r\n        at /home/vegan/xxx-yyy/gateway/node_modules/gulp-protractor/node_modules/q/q.js:525:49\r\n    [launcher] Process exited with error code 1\r\n    [10:52:58] gulp-notify: [JHipster Gulp Build] Error: protractor exited with code 1\r\n    [10:52:58] Finished 'protractor' after 641 ms\r\n    [10:52:58] E2E Tests failed\r\n\r\n\r\n\r\n\r\n\r\ni get this error when i run **gulp protractor qa**\r\n\r\n\r\n\r\n[![enter image description here][1]][1]\r\n\r\n\r\nit says\r\n\r\n           at new Driver (/home/vegan/xxx-yyy/gateway/node_modules/selenium-webdriver/chrome.js:810:36)\r\n\r\n\r\n\r\n it opens a chrome browser when i run but it stays at there browser.\r\n\r\n\r\nthe path is\r\n\r\n/home/vegan/xxx/gateway/node_modules/selenium-webdriver\r\n\r\n\r\ni do\r\n\r\nwebdriver-manager update but it doesnot work\r\n\r\nWhy does thi happen?\r\n\r\n![image](https://cloud.githubusercontent.com/assets/17731063/22328126/37e092a2-e3c3-11e6-9eae-0477829ccf07.png)\r\n\r\n\r\n\r\n\r\n**UPDATE**\r\n\r\nthis is in packagejson in selenumwebdriver\r\n\r\n\r\n    {\r\n      \"_args\": [\r\n        [\r\n          \"selenium-webdriver@https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-2.48.2.tgz\",\r\n          \"/home/vegan/xxx-yyyy/gateway\"\r\n        ]\r\n      ],\r\n      \"_from\": \"selenium-webdriver@2.48.2\",\r\n      \"_id\": \"selenium-webdriver@2.48.2\",\r\n      \"_inCache\": true,\r\n      \"_location\": \"/selenium-webdriver\",\r\n      \"_phantomChildren\": {\r\n        \"bufferutil\": \"1.2.1\",\r\n        \"options\": \"0.0.6\",\r\n        \"ultron\": \"1.0.2\",\r\n        \"utf-8-validate\": \"1.2.2\",\r\n        \"xmlbuilder\": \"4.2.1\"\r\n      },\r\n      \"_requested\": {\r\n        \"name\": \"selenium-webdriver\",\r\n        \"raw\": \"selenium-webdriver@https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-2.48.2.tgz\",\r\n        \"rawSpec\": \"https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-2.48.2.tgz\",\r\n        \"scope\": null,\r\n        \"spec\": \"https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-2.48.2.tgz\",\r\n        \"type\": \"remote\"\r\n      },\r\n      \"_requiredBy\": [\r\n        \"/gulp-protractor/protractor\",\r\n        \"/protractor\"\r\n      ],\r\n      \"_resolved\": \"https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-2.48.2.tgz\",\r\n      \"_shasum\": \"b26a4631430d0a9f36284ee0cfe09676e8f348ca\",\r\n      \"_shrinkwrap\": null,\r\n      \"_spec\": \"selenium-webdriver@https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-2.48.2.tgz\",\r\n      \"_where\": \"/home/vegan/xx-yyyy/gateway\",\r\n      \"bugs\": {\r\n        \"url\": \"https://github.com/SeleniumHQ/selenium/issues\"\r\n      },\r\n      \"dependencies\": {\r\n        \"adm-zip\": \"0.4.4\",\r\n        \"rimraf\": \"^2.2.8\",\r\n        \"tmp\": \"0.0.24\",\r\n        \"ws\": \"^0.8.0\",\r\n        \"xml2js\": \"0.4.4\"\r\n      },\r\n      \"description\": \"The official WebDriver JavaScript bindings from the Selenium project\",\r\n      \"devDependencies\": {\r\n        \"express\": \"^4.11.2\",\r\n        \"mocha\": \">= 1.21.x\",\r\n        \"multer\": \"^0.1.7\",\r\n        \"promises-aplus-tests\": \"^2.1.0\",\r\n        \"serve-index\": \"^1.6.1\"\r\n      },\r\n      \"engines\": {\r\n        \"node\": \">= 0.12.x\"\r\n      },\r\n      \"homepage\": \"https://github.com/SeleniumHQ/selenium\",\r\n      \"keywords\": [\r\n        \"automation\",\r\n        \"selenium\",\r\n        \"testing\",\r\n        \"webdriver\",\r\n        \"webdriverjs\"\r\n      ],\r\n      \"license\": \"Apache-2.0\",\r\n      \"main\": \"./index\",\r\n      \"name\": \"selenium-webdriver\",\r\n      \"optionalDependencies\": {},\r\n      \"readme\": \"# selenium-webdriver\\n\\nSelenium is a browser automation library. Most often used for testing\\nweb-applications, Selenium may be used for any task that requires automating\\ninteraction with the browser.\\n\\n## Installation\\n\\nSelenium supports Node `0.12.x` and `4.x`. Users on Node `0.12.x` must run with\\nthe --harmony flag. Selenium may be installed via npm with\\n\\n    npm install selenium-webdriver\\n\\nOut of the box, Selenium includes everything you need to work with Firefox. You\\nwill need to download additional components to work with the other major\\nbrowsers. The drivers for Chrome, IE, PhantomJS, and Opera are all standalone\\nexecutables that should be placed on your\\n[PATH](http://en.wikipedia.org/wiki/PATH_%28variable%29). The SafariDriver\\nbrowser extension should be installed in your browser before using Selenium; we\\nrecommend disabling the extension when using the browser without Selenium or\\ninstalling the extension in a profile only used for testing.\\n\\n| Browser           | Component                          |\\n| ----------------- | ---------------------------------- |\\n| Chrome            | [chromedriver(.exe)][chrome]       |\\n| Internet Explorer | [IEDriverServer.exe][release]      |\\n| PhantomJS         | [phantomjs(.exe)][phantomjs]       |\\n| Opera             | [operadriver(.exe)][opera]         |\\n| Safari            | [SafariDriver.safariextz][release] |\\n\\n## Usage\\n\\nThe sample below and others are included in the `example` directory. You may\\nalso find the tests for selenium-webdriver informative.\\n\\n    var webdriver = require('selenium-webdriver'),\\n        By = require('selenium-webdriver').By,\\n        until = require('selenium-webdriver').until;\\n\\n    var driver = new webdriver.Builder()\\n        .forBrowser('firefox')\\n        .build();\\n\\n    driver.get('http://www.google.com/ncr');\\n    driver.findElement(By.name('q')).sendKeys('webdriver');\\n    driver.findElement(By.name('btnG')).click();\\n    driver.wait(until.titleIs('webdriver - Google Search'), 1000);\\n    driver.quit();\\n\\n### Using the Builder API\\n\\nThe `Builder` class is your one-stop shop for configuring new WebDriver\\ninstances. Rather than clutter your code with branches for the various browsers,\\nthe builder lets you set all options in one flow. When you call\\n`Builder#build()`, all options irrelevant to the selected browser are dropped:\\n\\n    var webdriver = require('selenium-webdriver'),\\n        chrome = require('selenium-webdriver/chrome'),\\n        firefox = require('selenium-webdriver/firefox');\\n\\n    var driver = new webdriver.Builder()\\n        .forBrowser('firefox')\\n        .setChromeOptions(/* ... */)\\n        .setFirefoxOptions(/* ... */)\\n        .build();\\n\\nWhy would you want to configure options irrelevant to the target browser? The\\n`Builder`'s API defines your _default_ configuration. You can change the target\\nbrowser at runtime through the `SELENIUM_BROWSER` environment variable. For\\nexample, the `example/google_search.js` script is configured to run against\\nFirefox. You can run the example against other browsers just by changing the\\nruntime environment\\n\\n    # cd node_modules/selenium-webdriver\\n    node example/google_search\\n    SELENIUM_BROWSER=chrome node example/google_search\\n    SELENIUM_BROWSER=safari node example/google_search\\n\\n### The Standalone Selenium Server\\n\\nThe standalone Selenium Server acts as a proxy between your script and the\\nbrowser-specific drivers. The server may be used when running locally, but it's\\nnot recommend as it introduces an extra hop for each request and will slow\\nthings down. The server is required, however, to use a browser on a remote host\\n(most browser drivers, like the IEDriverServer, do not accept remote\\nconnections).\\n\\nTo use the Selenium Server, you will need to install the\\n[JDK](http://www.oracle.com/technetwork/java/javase/downloads/index.html) and\\ndownload the latest server from [Selenium][release]. Once downloaded, run the\\nserver with\\n\\n    java -jar selenium-server-standalone-2.45.0.jar\\n\\nYou may configure your tests to run against a remote server through the Builder\\nAPI:\\n\\n    var driver = new webdriver.Builder()\\n        .forBrowser('firefox')\\n        .usingServer('http://localhost:4444/wd/hub')\\n        .build();\\n\\nOr change the Builder's configuration at runtime with the `SELENIUM_REMOTE_URL`\\nenvironment variable:\\n\\n    SELENIUM_REMOTE_URL=\\\"http://localhost:4444/wd/hub\\\" node script.js\\n\\nYou can experiment with these options using the `example/google_search.js`\\nscript provided with `selenium-webdriver`.\\n\\n## Documentation\\n\\nAPI documentation is included in the `docs` directory and is also available\\nonline from the [Selenium project][api]. Addition resources include\\n\\n- the #selenium channel on freenode IRC\\n- the [selenium-users@googlegroups.com][users] list\\n- [SeleniumHQ](http://www.seleniumhq.org/docs/) documentation\\n\\n## Contributing\\n\\nContributions are accepted either through [GitHub][gh] pull requests or patches\\nvia the [Selenium issue tracker][issues]. You must sign our\\n[Contributor License Agreement][cla] before your changes will be accepted.\\n\\n## Issues\\n\\nPlease report any issues using the [Selenium issue tracker][issues]. When using\\nthe issue tracker\\n\\n- __Do__ include a detailed description of the problem.\\n- __Do__ include a link to a [gist](http://gist.github.com/) with any\\n    interesting stack traces/logs (you may also attach these directly to the bug\\n    report).\\n- __Do__ include a [reduced test case][reduction]. Reporting \\\"unable to find\\n    element on the page\\\" is _not_ a valid report - there's nothing for us to\\n    look into. Expect your bug report to be closed if you do not provide enough\\n    information for us to investigate.\\n- __Do not__ use the issue tracker to submit basic help requests. All help\\n    inquiries should be directed to the [user forum][users] or #selenium IRC\\n    channel.\\n- __Do not__ post empty \\\"I see this too\\\" or \\\"Any updates?\\\" comments. These\\n    provide no additional information and clutter the log.\\n- __Do not__ report regressions on closed bugs as they are not actively\\n    monitored for upates (especially bugs that are >6 months old). Please open a\\n    new issue and reference the original bug in your report.\\n\\n## License\\n\\nLicensed to the Software Freedom Conservancy (SFC) under one\\nor more contributor license agreements.  See the NOTICE file\\ndistributed with this work for additional information\\nregarding copyright ownership.  The SFC licenses this file\\nto you under the Apache License, Version 2.0 (the\\n\\\"License\\\"); you may not use this file except in compliance\\nwith the License.  You may obtain a copy of the License at\\n\\nhttp://www.apache.org/licenses/LICENSE-2.0\\n\\nUnless required by applicable law or agreed to in writing,\\nsoftware distributed under the License is distributed on an\\n\\\"AS IS\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\nKIND, either express or implied.  See the License for the\\nspecific language governing permissions and limitations\\nunder the License.\\n\\n[api]: http://seleniumhq.github.io/selenium/docs/api/javascript/\\n[cla]: http :/ /go o.gl/qC50R\\n[chrome]: http://chromedriver.storage.googleapis.com/index.html\\n[gh]: https://github.com/SeleniumHQ/selenium/\\n[issues]: https://github.com/SeleniumHQ/selenium/issues\\n[opera]: https://github.com/operasoftware/operachromiumdriver/releases\\n[phantomjs]: http://phantomjs.org/\\n[reduction]: http://www.webkit.org/quality/reduction.html\\n[release]: http://selenium-release.storage.googleapis.com/index.html\\n[users]: https://groups.google.com/forum/#!forum/selenium-users\\n\",\r\n      \"readmeFilename\": \"README.md\",\r\n      \"repository\": {\r\n        \"type\": \"git\",\r\n        \"url\": \"git+https://github.com/SeleniumHQ/selenium.git\"\r\n      },\r\n      \"scripts\": {\r\n        \"test\": \"mocha --harmony -t 600000 --recursive test\"\r\n      },\r\n      \"version\": \"2.48.2\"\r\n    }\r\n\r\nthose are versions\r\n\r\n    vegan@vegan:~/xx-yyyy/gateway$ node -v\r\n    v5.12.0\r\n    vegan@vegan:~/xx-yyyy/gateway$ npm -v\r\n    3.8.6\r\n\r\nmy friend also has this versions but he can run Also i could until lasst week. I dont know what happened. I deleted node modules, resetted all but did not work.\r\n\r\ni dont know what i can give information about.\r\n\r\ni also tried this\r\n\r\nhttp://stackoverflow.com/a/34758398/6804200\r\n\r\nchanged configjson to this\r\n\r\n    {\r\n      \"webdriverVersions\": {\r\n          \"seleniumServerJar\": './node_modules/protractor/selenium/selenium-server-standalone-2.51.0.jar',\r\n          \"chromedriver\": \"2.21\",\r\n        \"iedriver\": \"2.51.0\"\r\n      }\r\n    }\r\n\r\nbut nothng changed.\r\n\r\ni did also `npm update`\r\n\r\ngulp protractor is\r\n\r\n\r\n    gulp.task(\r\n        'protractor', function () {\r\n    \r\n    \r\n            configObj['args'] = [];//to be able to add multiple parameters\r\n    \r\n            if (argv.suite) {\r\n                configObj['args'].push(\r\n                    '--suite',\r\n                    argv.suite\r\n                );\r\n            }\r\n    \r\n            return gulp.src([])\r\n                .pipe(plumber({errorHandler: handleErrors}))\r\n                .pipe(protractor(configObj))\r\n                .on(\r\n                    'error', function () {\r\n                            gutil.log('E2E Tests failed');\r\n                            process.exit(1);\r\n                        }\r\n                    );\r\n            }\r\n        );\r\n    var configObj = {\r\n        configFile: config.test + 'protractor.conf.js'\r\n    };\r\n\r\n\r\nprotractorconf is\r\n\r\n\r\n\r\n    var HtmlScreenshotReporter = require(\"protractor-jasmine2-screenshot-reporter\");\r\n    var JasmineReporters = require('jasmine-reporters');\r\n    \r\n    var prefix = 'src/test/javascript/'.replace(/[^/]+/g, '..');\r\n\r\n    \r\n    \r\n    exports.config = {\r\n    \r\n        chromeDriver: prefix + 'node_modules/protractor/selenium/chromedriver',\r\n        allScriptsTimeout: 240000,\r\n    \r\n        suites: {\r\n            register: './e2e/account/register/*.js',\r\n            login: './e2e/account/login/*.js'\r\n            \r\n        },\r\n    \r\n        capabilities: {\r\n            'browserName': 'chrome'\r\n        },\r\n    \r\n        directConnect: true,\r\n    \r\n        framework: 'jasmine2',\r\n    \r\n        jasmineNodeOpts: {\r\n            showColors: true,\r\n            defaultTimeoutInterval: 240000\r\n        },\r\n        onPrepare: function () {\r\n    \r\n            var disableNgAnimate = function () {\r\n                angular\r\n                    .module('disableNgAnimate', [])\r\n                    .run(\r\n                        [\r\n                            '$animate',\r\n                            function ($animate) {\r\n                                $animate.enabled(false);\r\n                            }\r\n                        ]\r\n                    );\r\n            };\r\n    \r\n            var disableCssAnimate = function () {\r\n                angular\r\n                    .module('disableCssAnimate', [])\r\n                    .run(\r\n                        function () {\r\n                            var style = document.createElement('style');\r\n                            style.type = 'text/css';\r\n                            style.innerHTML = 'body * {' +\r\n                                '-webkit-transition: none !important;' +\r\n                                '-moz-transition: none !important;' +\r\n                                '-o-transition: none !important;' +\r\n                                '-ms-transition: none !important;' +\r\n                                'transition: none !important;' +\r\n                                '}';\r\n                            document.getElementsByTagName('head')[0].appendChild(style);\r\n                        }\r\n                    );\r\n            };\r\n    \r\n            browser.addMockModule('disableNgAnimate', disableNgAnimate);\r\n            browser.addMockModule('disableCssAnimate', disableCssAnimate);\r\n    \r\n            browser.driver.manage().window().maximize();\r\n    \r\n    \r\n        }\r\n    };\r\n\r\n\r\ngulp tasks of qa\r\n\r\n\r\n    gulp.task('qa', function () {\r\n    \r\n        argv.baseUrl = qaurl;\r\n    \r\n        configObj['args'].push(\r\n            '--baseUrl',\r\n            argv.baseUrl\r\n        );\r\n    });\r\n\r\ni got this when i do npm install\r\n\r\n\r\n  \r\n\r\n>   npm WARN lifecycle gateway@0.0.0~postinstall: cannot run in wd %s %s\r\n> (wd=%s) gateway@0.0.0 webdriver-manager update\r\n> /home/vegan/xx-yyy/gateway npm WARN optional Skipping failed optional\r\n> dependency /chokidar/fsevents: npm WARN notsup Not compatible with\r\n> your operating system or architecture: fsevents@1.0.17\r\n\r\n\r\n\r\n\r\nvegan@vegan:~/xxx-/gateway$ sudo npm install --unsafe-perm\r\n\r\n> gateway@0.0.0 postinstall /home/vegan/xxxgateway\r\n> webdriver-manager update\r\n\r\nsh: 1: webdriver-manager: not found\r\n\r\nnpm WARN optional Skipping failed optional dependency /chokidar/fsevents:\r\nnpm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.17\r\nnpm ERR! Linux 4.4.0-59-generic\r\nnpm ERR! argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\" \"--unsafe-perm\"\r\nnpm ERR! node v5.12.0\r\nnpm ERR! npm  v3.8.6\r\nnpm ERR! file sh\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno ENOENT\r\nnpm ERR! syscall spawn\r\nnpm ERR! gateway@0.0.0 postinstall: `webdriver-manager update`\r\nnpm ERR! spawn ENOENT\r\nnpm ERR! \r\nnpm ERR! Failed at the gateway@0.0.0 postinstall script 'webdriver-manager update'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the gateway package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     webdriver-manager update\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs gateway\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls gateway\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/vegan/xxx/gateway/npm-debug.log\r\n\r\n\r\n\r\n\r\nThis is inside a spring boot project but this project doesnot have to be up in local because it is already up in server. So wwhen i run gulp, the browser should go to that url, qa url (in past it was going).. I tried both, upping my proejct or without it but still same.\r\n\r\n\r\n\r\n\r\nvegan@vegan:~xx webdriver-manager upddae\r\n**WARNING:root:could not open file '/etc/apt/sources.list'\r\n\r\n\r\n\r\nwebdriver-manager: command not found**\r\n\r\n\r\n\r\nAlso\r\ni tried to delete node modules, gateway and tried again. but it is sme.\r\n\r\n\r\n\r\n\r\n---\r\n\r\nbut if i do \r\n\r\n> \r\n> vegan@vegan:~/xxx/gateway$ sudo npm install -g protractor\r\n> npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue\r\n> /usr/bin/webdriver-manager -> /usr/lib/node_modules/protractor/bin/webdriver-manager\r\n> /usr/bin/protractor -> /usr/lib/node_modules/protractor/bin/protractor\r\n> /usr/lib\r\n> └─┬ protractor@5.0.0 \r\n>   ├── @types/node@6.0.62 \r\n>   ├── @types/q@0.0.32 \r\n>   ├── @types/selenium-webdriver@2.53.39 \r\n>   ├─┬ blocking-proxy@0.0.2 \r\n>   │ ├── es6-promise@4.0.5 \r\n>   │ ├── minimist@1.2.0 \r\n>   │ └─┬ selenium-webdriver@2.53.3 \r\n>   │   ├── adm-zip@0.4.4 \r\n>   │   ├── tmp@0.0.24 \r\n>   │   ├─┬ ws@1.1.1 \r\n>   │   │ ├── options@0.0.6 \r\n>   │   │ └── ultron@1.0.2 \r\n>   │   └─┬ xml2js@0.4.4 \r\n>   │     └── xmlbuilder@8.2.2 \r\n>   ├─┬ chalk@1.1.3 \r\n>   │ ├── ansi-styles@2.2.1 \r\n>   │ ├── escape-string-regexp@1.0.5 \r\n>   │ ├─┬ has-ansi@2.0.0 \r\n>   │ │ └── ansi-regex@2.1.1 \r\n>   │ ├── strip-ansi@3.0.1 \r\n>   │ └── supports-color@2.0.0 \r\n>   ├─┬ glob@7.1.1 \r\n>   │ ├── fs.realpath@1.0.0 \r\n>   │ ├─┬ inflight@1.0.6 \r\n>   │ │ └── wrappy@1.0.2 \r\n>   │ ├── inherits@2.0.3 \r\n>   │ ├─┬ minimatch@3.0.3 \r\n>   │ │ └─┬ brace-expansion@1.1.6 \r\n>   │ │   ├── balanced-match@0.4.2 \r\n>   │ │   └── concat-map@0.0.1 \r\n>   │ ├── once@1.4.0 \r\n>   │ └── path-is-absolute@1.0.1 \r\n>   ├─┬ jasmine@2.4.1 \r\n>   │ ├── exit@0.1.2 \r\n>   │ ├─┬ glob@3.2.11 \r\n>   │ │ └─┬ minimatch@0.3.0 \r\n>   │ │   ├── lru-cache@2.7.3 \r\n>   │ │   └── sigmund@1.0.1 \r\n>   │ └── jasmine-core@2.4.1 \r\n>   ├── jasminewd2@0.1.1 \r\n>   ├─┬ optimist@0.6.1 \r\n>   │ ├── minimist@0.0.10 \r\n>   │ └── wordwrap@0.0.3 \r\n>   ├── q@1.4.1 \r\n>   ├─┬ saucelabs@1.3.0 \r\n>   │ └─┬ https-proxy-agent@1.0.0 \r\n>   │   ├─┬ agent-base@2.0.1 \r\n>   │   │ └── semver@5.0.3 \r\n>   │   ├─┬ debug@2.6.0 \r\n>   │   │ └── ms@0.7.2 \r\n>   │   └── extend@3.0.0 \r\n>   ├─┬ selenium-webdriver@3.0.1 \r\n>   │ ├── adm-zip@0.4.7 \r\n>   │ ├── rimraf@2.5.4 \r\n>   │ ├─┬ tmp@0.0.30 \r\n>   │ │ └── os-tmpdir@1.0.2 \r\n>   │ └─┬ xml2js@0.4.17 \r\n>   │   ├── sax@0.6.1 \r\n>   │   └─┬ xmlbuilder@4.2.1 \r\n>   │     └── lodash@4.17.4 \r\n>   ├─┬ source-map-support@0.4.10 \r\n>   │ └── source-map@0.5.6 \r\n>   ├─┬ webdriver-js-extender@0.2.3 \r\n>   │ └── selenium-webdriver@2.53.3 \r\n>   └─┬ webdriver-manager@11.1.1 \r\n>     ├── adm-zip@0.4.7 \r\n>     ├─┬ del@2.2.2 \r\n>     │ ├─┬ globby@5.0.0 \r\n>     │ │ ├─┬ array-union@1.0.2 \r\n>     │ │ │ └── array-uniq@1.0.3 \r\n>     │ │ └── arrify@1.0.1 \r\n>     │ ├── is-path-cwd@1.0.0 \r\n>     │ ├─┬ is-path-in-cwd@1.0.0 \r\n>     │ │ └─┬ is-path-inside@1.0.0 \r\n>     │ │   └── path-is-inside@1.0.2 \r\n>     │ ├── object-assign@4.1.1 \r\n>     │ ├── pify@2.3.0 \r\n>     │ └─┬ pinkie-promise@2.0.1 \r\n>     │   └── pinkie@2.0.4 \r\n>     ├── ini@1.3.4 \r\n>     ├─┬ request@2.79.0 \r\n>     │ ├── aws-sign2@0.6.0 \r\n>     │ ├── aws4@1.5.0 \r\n>     │ ├── caseless@0.11.0 \r\n>     │ ├─┬ combined-stream@1.0.5 \r\n>     │ │ └── delayed-stream@1.0.0 \r\n>     │ ├── forever-agent@0.6.1 \r\n>     │ ├─┬ form-data@2.1.2 \r\n>     │ │ └── asynckit@0.4.0 \r\n>     │ ├─┬ har-validator@2.0.6 \r\n>     │ │ ├─┬ commander@2.9.0 \r\n>     │ │ │ └── graceful-readlink@1.0.1 \r\n>     │ │ └─┬ is-my-json-valid@2.15.0 \r\n>     │ │   ├── generate-function@2.0.0 \r\n>     │ │   ├─┬ generate-object-property@1.2.0 \r\n>     │ │   │ └── is-property@1.0.2 \r\n>     │ │   ├── jsonpointer@4.0.1 \r\n>     │ │   └── xtend@4.0.1 \r\n>     │ ├─┬ hawk@3.1.3 \r\n>     │ │ ├── boom@2.10.1 \r\n>     │ │ ├── cryptiles@2.0.5 \r\n>     │ │ ├── hoek@2.16.3 \r\n>     │ │ └── sntp@1.0.9 \r\n>     │ ├─┬ http-signature@1.1.1 \r\n>     │ │ ├── assert-plus@0.2.0 \r\n>     │ │ ├─┬ jsprim@1.3.1 \r\n>     │ │ │ ├── extsprintf@1.0.2 \r\n>     │ │ │ ├── json-schema@0.2.3 \r\n>     │ │ │ └── verror@1.3.6 \r\n>     │ │ └─┬ sshpk@1.10.2 \r\n>     │ │   ├── asn1@0.2.3 \r\n>     │ │   ├── assert-plus@1.0.0 \r\n>     │ │   ├── bcrypt-pbkdf@1.0.0 \r\n>     │ │   ├─┬ dashdash@1.14.1 \r\n>     │ │   │ └── assert-plus@1.0.0 \r\n>     │ │   ├── ecc-jsbn@0.1.1 \r\n>     │ │   ├─┬ getpass@0.1.6 \r\n>     │ │   │ └── assert-plus@1.0.0 \r\n>     │ │   ├── jodid25519@1.0.2 \r\n>     │ │   ├── jsbn@0.1.0 \r\n>     │ │   └── tweetnacl@0.14.5 \r\n>     │ ├── is-typedarray@1.0.0 \r\n>     │ ├── isstream@0.1.2 \r\n>     │ ├── json-stringify-safe@5.0.1 \r\n>     │ ├─┬ mime-types@2.1.14 \r\n>     │ │ └── mime-db@1.26.0 \r\n>     │ ├── oauth-sign@0.8.2 \r\n>     │ ├── qs@6.3.0 \r\n>     │ ├── stringstream@0.0.5 \r\n>     │ ├─┬ tough-cookie@2.3.2 \r\n>     │ │ └── punycode@1.4.1 \r\n>     │ ├── tunnel-agent@0.4.3 \r\n>     │ └── uuid@3.0.1 \r\n>     └── semver@5.3.0 \r\n\r\n\r\nthis gives different error\r\n```\r\n\r\nvegan@vegan:~/xxx/gateway$ webdriver-manager update --chrome\r\n/usr/lib/node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/logger.js:66\r\n    info(...msgs) {\r\n         ^^^\r\n\r\nSyntaxError: Unexpected token ...\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:387:25)\r\n    at Object.Module._extensions..js (module.js:422:10)\r\n    at Module.load (module.js:357:32)\r\n    at Function.Module._load (module.js:314:12)\r\n    at Module.require (module.js:367:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/usr/lib/node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/index.js:8:10)\r\n    at Module._compile (module.js:413:34)\r\n    at Object.Module._extensions..js (module.js:422:10)\r\n\r\n```\r\n\r\n\r\nBut i am not sure about if gulp uses this or not."},"comment":{"url":"https://api.github.com/repos/rochejul/gulp-angular-protractor/issues/comments/280648429","html_url":"https://github.com/rochejul/gulp-angular-protractor/issues/34#issuecomment-280648429","issue_url":"https://api.github.com/repos/rochejul/gulp-angular-protractor/issues/34","id":280648429,"user":{"login":"caneraydinbey","id":17731063,"avatar_url":"https://avatars.githubusercontent.com/u/17731063?v=3","gravatar_id":"","url":"https://api.github.com/users/caneraydinbey","html_url":"https://github.com/caneraydinbey","followers_url":"https://api.github.com/users/caneraydinbey/followers","following_url":"https://api.github.com/users/caneraydinbey/following{/other_user}","gists_url":"https://api.github.com/users/caneraydinbey/gists{/gist_id}","starred_url":"https://api.github.com/users/caneraydinbey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caneraydinbey/subscriptions","organizations_url":"https://api.github.com/users/caneraydinbey/orgs","repos_url":"https://api.github.com/users/caneraydinbey/repos","events_url":"https://api.github.com/users/caneraydinbey/events{/privacy}","received_events_url":"https://api.github.com/users/caneraydinbey/received_events","type":"User","site_admin":false},"created_at":"2017-02-17T13:25:22Z","updated_at":"2017-02-17T13:25:22Z","body":"Here\r\n[examples.tar.gz](https://github.com/rochejul/gulp-angular-protractor/files/783288/examples.tar.gz)\r\n"}}
{"actor":{"display_login":"caneraydinbey"}}