{"action":"opened","issue":{"url":"https://api.github.com/repos/npm/npm/issues/11046","labels_url":"https://api.github.com/repos/npm/npm/issues/11046/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/11046/comments","events_url":"https://api.github.com/repos/npm/npm/issues/11046/events","html_url":"https://github.com/npm/npm/issues/11046","id":125124848,"number":11046,"title":"Npm binary removed when upgrade interrupted.","user":{"login":"ruckuus","id":53867,"avatar_url":"https://avatars.githubusercontent.com/u/53867?v=3","gravatar_id":"","url":"https://api.github.com/users/ruckuus","html_url":"https://github.com/ruckuus","followers_url":"https://api.github.com/users/ruckuus/followers","following_url":"https://api.github.com/users/ruckuus/following{/other_user}","gists_url":"https://api.github.com/users/ruckuus/gists{/gist_id}","starred_url":"https://api.github.com/users/ruckuus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruckuus/subscriptions","organizations_url":"https://api.github.com/users/ruckuus/orgs","repos_url":"https://api.github.com/users/ruckuus/repos","events_url":"https://api.github.com/users/ruckuus/events{/privacy}","received_events_url":"https://api.github.com/users/ruckuus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-06T07:02:45Z","updated_at":"2016-01-06T07:02:45Z","closed_at":null,"body":"I'd like to cancel npm upgrade after realizing that I needed different version of npm (not 3.0.0).\r\n\r\nExpected: Interrupted upgrade should rollback to previous version.\r\n```\r\nubuntu@ip-10-0-254-58:~$ npm -v\r\n2.14.7\r\nubuntu@ip-10-0-254-58:~$ which npm\r\n/home/ubuntu/.nvm/versions/node/v4.2.0/bin/npm\r\nubuntu@ip-10-0-254-58:~$ npm install -g npm@3.0.0\r\n^C\r\nubuntu@ip-10-0-254-58:~$ npm -v\r\n-bash: /home/ubuntu/.nvm/versions/node/v4.2.0/bin/npm: No such file or directory\r\nubuntu@ip-10-0-254-58:~$ nvm list\r\n         v4.1.2\r\n->       v4.2.0\r\n         v4.2.2\r\nnode -> stable (-> v4.2.2) (default)\r\nstable -> 4.2 (-> v4.2.2) (default)\r\niojs -> N/A (default)\r\n```"}}