{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2827","labels_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2827/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2827/comments","events_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2827/events","html_url":"https://github.com/mozilla/fxa-content-server/issues/2827","id":97174307,"number":2827,"title":"Bump to npm@2 in .travis.yml instead of hardcoding 2.4?","user":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/fxa-content-server/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-25T00:26:01Z","updated_at":"2015-07-28T17:44:17Z","closed_at":"2015-07-25T03:30:34Z","body":"Per https://github.com/shane-tomlinson/fxa-crypto-utils/pull/12#issuecomment-123828708 conversation w/ @jrgm.\r\n\r\nCurrently we're installing **npm@2.4** in the [.travis.yml](https://github.com/mozilla/fxa-content-server/blob/9ec6b1812e76fa9576462bd9c4cebf4544698f9f/.travis.yml#L32-L33) file.\r\nThat's great for Node 0.10.x which comes w/ **npm@1.4.x** but not so great for Node 0.12 which comes w/ **npm@2.11.x**. Which means we're basically downgrading npm.\r\n\r\nShould we, like, not do that?\r\n\r\n### Node 0.10:\r\n```sh\r\n$ nvm install 0.10\r\n######################################################################## 100.0%\r\nNow using node v0.10.40\r\n\r\n$ node --version\r\nv0.10.40\r\n\r\n$ npm --version\r\n1.4.28\r\n\r\n$ nvm --version\r\n0.23.3\r\n\r\n$ npm install -g npm@2.4\r\n```\r\n**NOTE:** Upgrading from **npm@1.4.28** to **npm@2.4**.\r\n\r\n---\r\n\r\n### Node 0.12:\r\n```sh\r\n$ nvm install 0.12\r\n######################################################################## 100.0%\r\nNow using node v0.12.7\r\n\r\n$ node --version\r\nv0.12.7\r\n\r\n$ npm --version\r\n2.11.3\r\n\r\n$ nvm --version\r\n0.23.3\r\n\r\n$ npm install -g npm@2.4\r\n```\r\n**NOTE:** Downgrading from **npm@2.11.3** to **npm@2.4**"},"comment":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/comments/125690209","html_url":"https://github.com/mozilla/fxa-content-server/issues/2827#issuecomment-125690209","issue_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/2827","id":125690209,"user":{"login":"vladikoff","id":128755,"avatar_url":"https://avatars.githubusercontent.com/u/128755?v=3","gravatar_id":"","url":"https://api.github.com/users/vladikoff","html_url":"https://github.com/vladikoff","followers_url":"https://api.github.com/users/vladikoff/followers","following_url":"https://api.github.com/users/vladikoff/following{/other_user}","gists_url":"https://api.github.com/users/vladikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/vladikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladikoff/subscriptions","organizations_url":"https://api.github.com/users/vladikoff/orgs","repos_url":"https://api.github.com/users/vladikoff/repos","events_url":"https://api.github.com/users/vladikoff/events{/privacy}","received_events_url":"https://api.github.com/users/vladikoff/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T17:44:17Z","updated_at":"2015-07-28T17:44:17Z","body":"updated to use npm@2"}}