{"action":"closed","issue":{"url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/217","labels_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/217/comments","events_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/217/events","html_url":"https://github.com/AngularClass/angular2-webpack-starter/issues/217","id":126174735,"number":217,"title":"The issues when i run 'npm run e2e'","user":{"login":"mengxiw","id":16544683,"avatar_url":"https://avatars.githubusercontent.com/u/16544683?v=3","gravatar_id":"","url":"https://api.github.com/users/mengxiw","html_url":"https://github.com/mengxiw","followers_url":"https://api.github.com/users/mengxiw/followers","following_url":"https://api.github.com/users/mengxiw/following{/other_user}","gists_url":"https://api.github.com/users/mengxiw/gists{/gist_id}","starred_url":"https://api.github.com/users/mengxiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengxiw/subscriptions","organizations_url":"https://api.github.com/users/mengxiw/orgs","repos_url":"https://api.github.com/users/mengxiw/repos","events_url":"https://api.github.com/users/mengxiw/events{/privacy}","received_events_url":"https://api.github.com/users/mengxiw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-12T13:01:22Z","updated_at":"2016-01-15T06:20:01Z","closed_at":"2016-01-15T06:20:01Z","body":"The other steps can run, but when i run 'npm run e2e'. The following is error details.\r\n\r\n[launcher] Running 1 instances of WebDriver\r\nStarted\r\nFFFF\r\n\r\nFailures:\r\n1) App should have a title\r\n  Message:\r\n    Expected '???? http://localhost:3000/' to equal 'Angular2 Webpack Starter by\r\n @gdi2990 from @AngularClass'.\r\n  Stack:\r\n    Error: Failed expectation\r\n        at Object.<anonymous> (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\test\\app\\app.e2e.js:14:21)\r\n        at C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasminewd2\\index.js:96:23\r\n        at new wrappedCtr (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\selenium-webdriver\\lib\\goog\\base.js:2468:26)\r\n        at controlFlowExecute (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasminewd2\\index.js:82:18)\r\n        at goog.async.run.processWorkQueue (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\selenium-webdriver\\lib\\goog\\async\\run.j\r\ns:124:15)\r\n        at process._tickCallback (node.js:382:9)\r\n\r\n2) App should have <header>\r\n  Message:\r\n    Expected false to equal true.\r\n  Stack:\r\n    Error: Failed expectation\r\n        at Object.<anonymous> (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\test\\app\\app.e2e.js:20:21)\r\n        at C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasminewd2\\index.js:96:23\r\n        at new wrappedCtr (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\selenium-webdriver\\lib\\goog\\base.js:2468:26)\r\n        at controlFlowExecute (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasminewd2\\index.js:82:18)\r\n        at goog.async.run.processWorkQueue (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\selenium-webdriver\\lib\\goog\\async\\run.j\r\ns:124:15)\r\n        at process._tickCallback (node.js:382:9)\r\n\r\n3) App should have <main>\r\n  Message:\r\n    Expected false to equal true.\r\n  Stack:\r\n    Error: Failed expectation\r\n        at Object.<anonymous> (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\test\\app\\app.e2e.js:26:21)\r\n        at C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasminewd2\\index.js:96:23\r\n        at new wrappedCtr (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\selenium-webdriver\\lib\\goog\\base.js:2468:26)\r\n        at controlFlowExecute (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasminewd2\\index.js:82:18)\r\n        at goog.async.run.processWorkQueue (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\selenium-webdriver\\lib\\goog\\async\\run.j\r\ns:124:15)\r\n        at process._tickCallback (node.js:382:9)\r\n\r\n4) App should have <footer>\r\n  Message:\r\n    Failed: No element found using locator: By.cssSelector(\"* /deep/ app /deep/footer\")\r\n  Stack:\r\n    NoSuchElementError: No element found using locator: By.cssSelector(\"* /deep/app /deep/ footer\")\r\n        at new bot.Error (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\selenium-webdriver\\lib\\atoms\\error.js:108:18)\r\n        at C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\protractor\\lib\\element.js:676:15\r\n        at goog.async.run.processWorkQueue (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\selenium-webdriver\\lib\\goog\\async\\run.js:124:15)\r\n        at process._tickCallback (node.js:382:9)\r\n    Error\r\n        at [object Object].ElementArrayFinder.applyAction_ (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\protractor\\lib\\element.js:382:21)\r\n        at [object Object].ElementArrayFinder.(anonymous function) [as getText]\r\n(C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\protractor\\lib\\element.js:78:17)\r\n        at [object Object].ElementFinder.(anonymous function) [as getText] (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\protrac\r\ntor\\lib\\element.js:711:7)\r\n        at Object.<anonymous> (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\test\\app\\app.e2e.js:30:60)\r\n        at C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasminewd2\\index.js:96:23\r\n        at new wrappedCtr (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\selenium-webdriver\\lib\\goog\\base.js:2468:26)\r\n        at controlFlowExecute (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasminewd2\\index.js:82:18)\r\n    From: Task: Run it(\"should have <footer>\") in control flow\r\n        at Object.<anonymous> (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasminewd2\\index.js:81:14)\r\n        at attemptAsync (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasmine-core\\lib\\jasmine-core\\jasmine.js:1819:24)\r\n        at QueueRunner.run (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasmine-core\\lib\\jasmine-core\\jasmine.js:1774:9)\r\n        at C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasmine-core\\lib\\jasmine-core\\jasmine.js:1801:16\r\n        at C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasmine-core\\lib\\jasmine-core\\jasmine.js:1745:9\r\n        at C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasminewd2\\index.js:18:5\r\n        at goog.async.run.processWorkQueue (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\selenium-webdriver\\lib\\goog\\async\\run.j\r\ns:124:15)\r\n    From asynchronous test:\r\n    Error\r\n        at Suite.<anonymous> (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\test\\app\\app.e2e.js:29:3)\r\n        at addSpecsToSuite (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasmine-core\\lib\\jasmine-core\\jasmine.js:743:25)\r\n        at Env.describe (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasmine-core\\lib\\jasmine-core\\jasmine.js:713:7)\r\n        at jasmineInterface.describe (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\node_modules\\jasmine-core\\lib\\jasmine-core\\jasmine.js:3219\r\n:18)\r\n        at Object.<anonymous> (C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\test\\app\\app.e2e.js:4:1)\r\n\r\n4 specs, 4 failures\r\nFinished in 9.553 seconds\r\n[launcher] 0 instance(s) of WebDriver still running\r\n[launcher] chrome #1 failed 4 test(s)\r\n[launcher] overall: 4 failed spec(s)\r\n[launcher] Process exited with error code 1\r\n\r\nnpm ERR! Windows_NT 6.1.7601\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\\r\nnode_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"e2e\"\r\nnpm ERR! node v5.2.0\r\nnpm ERR! npm  v3.3.12\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! angular2-webpack-starter@0.0.0 e2e: `protractor`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the angular2-webpack-starter@0.0.0 e2e script 'protractor'.\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 angular2-webpack-starter package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     protractor\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls angular2-webpack-starter\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!     C:\\Users\\Administrator.XZ-20140618RVRF\\angular2-webpack-starter\\npm-debug.log\r\n\r\nI haven't seen this before, does anyone meet the same problem."}}