{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-phonecat/issues/377","repository_url":"https://api.github.com/repos/angular/angular-phonecat","labels_url":"https://api.github.com/repos/angular/angular-phonecat/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-phonecat/issues/377/comments","events_url":"https://api.github.com/repos/angular/angular-phonecat/issues/377/events","html_url":"https://github.com/angular/angular-phonecat/issues/377","id":183582552,"number":377,"title":"Failing e2e tests","user":{"login":"IAmAnubhavSaini","id":1573771,"avatar_url":"https://avatars.githubusercontent.com/u/1573771?v=3","gravatar_id":"","url":"https://api.github.com/users/IAmAnubhavSaini","html_url":"https://github.com/IAmAnubhavSaini","followers_url":"https://api.github.com/users/IAmAnubhavSaini/followers","following_url":"https://api.github.com/users/IAmAnubhavSaini/following{/other_user}","gists_url":"https://api.github.com/users/IAmAnubhavSaini/gists{/gist_id}","starred_url":"https://api.github.com/users/IAmAnubhavSaini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IAmAnubhavSaini/subscriptions","organizations_url":"https://api.github.com/users/IAmAnubhavSaini/orgs","repos_url":"https://api.github.com/users/IAmAnubhavSaini/repos","events_url":"https://api.github.com/users/IAmAnubhavSaini/events{/privacy}","received_events_url":"https://api.github.com/users/IAmAnubhavSaini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-18T03:36:22Z","updated_at":"2016-10-18T09:27:49Z","closed_at":null,"body":"Following https://docs.angularjs.org/tutorial/#environment-setup\r\nI ran application in a terminal with `npm start`, then in another tab, `npm run protractor` which failed.\r\n\r\nHere's the error log:\r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/home/dev/.nvm/versions/node/v6.8.1/bin/node',\r\n1 verbose cli   '/home/dev/.nvm/versions/node/v6.8.1/bin/npm',\r\n1 verbose cli   'run',\r\n1 verbose cli   'protractor' ]\r\n2 info using npm@3.10.9\r\n3 info using node@v6.8.1\r\n4 verbose run-script [ 'preprotractor', 'protractor', 'postprotractor' ]\r\n5 info lifecycle angular-phonecat@0.0.0~preprotractor: angular-phonecat@0.0.0\r\n6 verbose lifecycle angular-phonecat@0.0.0~preprotractor: unsafe-perm in lifecycle true\r\n7 verbose lifecycle angular-phonecat@0.0.0~preprotractor: PATH: /home/dev/.nvm/versions/node/v6.8.1/lib/node_modules/npm/bin/node-gyp-bin:/home/dev/code/angularjs/tutorials/angular-phonecat/node_modules/.bin:/home/dev/.nvm/versions/node/v6.8.1/bin:/home/dev/bin:/home/dev/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin\r\n8 verbose lifecycle angular-phonecat@0.0.0~preprotractor: CWD: /home/dev/code/angularjs/tutorials/angular-phonecat\r\n9 silly lifecycle angular-phonecat@0.0.0~preprotractor: Args: [ '-c', 'npm run update-webdriver' ]\r\n10 silly lifecycle angular-phonecat@0.0.0~preprotractor: Returned: code: 0  signal: null\r\n11 info lifecycle angular-phonecat@0.0.0~protractor: angular-phonecat@0.0.0\r\n12 verbose lifecycle angular-phonecat@0.0.0~protractor: unsafe-perm in lifecycle true\r\n13 verbose lifecycle angular-phonecat@0.0.0~protractor: PATH: /home/dev/.nvm/versions/node/v6.8.1/lib/node_modules/npm/bin/node-gyp-bin:/home/dev/code/angularjs/tutorials/angular-phonecat/node_modules/.bin:/home/dev/.nvm/versions/node/v6.8.1/bin:/home/dev/bin:/home/dev/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin\r\n14 verbose lifecycle angular-phonecat@0.0.0~protractor: CWD: /home/dev/code/angularjs/tutorials/angular-phonecat\r\n15 silly lifecycle angular-phonecat@0.0.0~protractor: Args: [ '-c', 'protractor e2e-tests/protractor.conf.js' ]\r\n16 silly lifecycle angular-phonecat@0.0.0~protractor: Returned: code: 1  signal: null\r\n17 info lifecycle angular-phonecat@0.0.0~protractor: Failed to exec protractor script\r\n18 verbose stack Error: angular-phonecat@0.0.0 protractor: `protractor e2e-tests/protractor.conf.js`\r\n18 verbose stack Exit status 1\r\n18 verbose stack     at EventEmitter.<anonymous> (/home/dev/.nvm/versions/node/v6.8.1/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)\r\n18 verbose stack     at emitTwo (events.js:106:13)\r\n18 verbose stack     at EventEmitter.emit (events.js:191:7)\r\n18 verbose stack     at ChildProcess.<anonymous> (/home/dev/.nvm/versions/node/v6.8.1/lib/node_modules/npm/lib/utils/spawn.js:40:14)\r\n18 verbose stack     at emitTwo (events.js:106:13)\r\n18 verbose stack     at ChildProcess.emit (events.js:191:7)\r\n18 verbose stack     at maybeClose (internal/child_process.js:877:16)\r\n18 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)\r\n19 verbose pkgid angular-phonecat@0.0.0\r\n20 verbose cwd /home/dev/code/angularjs/tutorials/angular-phonecat\r\n21 error Linux 4.4.0-43-generic\r\n22 error argv \"/home/dev/.nvm/versions/node/v6.8.1/bin/node\" \"/home/dev/.nvm/versions/node/v6.8.1/bin/npm\" \"run\" \"protractor\"\r\n23 error node v6.8.1\r\n24 error npm  v3.10.9\r\n25 error code ELIFECYCLE\r\n26 error angular-phonecat@0.0.0 protractor: `protractor e2e-tests/protractor.conf.js`\r\n26 error Exit status 1\r\n27 error Failed at the angular-phonecat@0.0.0 protractor script 'protractor e2e-tests/protractor.conf.js'.\r\n27 error Make sure you have the latest version of node.js and npm installed.\r\n27 error If you do, this is most likely a problem with the angular-phonecat package,\r\n27 error not with npm itself.\r\n27 error Tell the author that this fails on your system:\r\n27 error     protractor e2e-tests/protractor.conf.js\r\n27 error You can get information on how to open an issue for this project with:\r\n27 error     npm bugs angular-phonecat\r\n27 error Or if that isn't available, you can get their info via:\r\n27 error     npm owner ls angular-phonecat\r\n27 error There is likely additional logging output above.\r\n28 verbose exit [ 1, true ]\r\n```\r\n\r\nNode and NPM versions are on 23rd and 24th line above.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-phonecat/issues/comments/254454971","html_url":"https://github.com/angular/angular-phonecat/issues/377#issuecomment-254454971","issue_url":"https://api.github.com/repos/angular/angular-phonecat/issues/377","id":254454971,"user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T09:27:49Z","updated_at":"2016-10-18T09:27:49Z","body":"I am not sure we have tested this on node 6 - could you try node 4?"}}
{"actor":{"display_login":"petebacondarwin"}}