{"action":"opened","issue":{"url":"https://api.github.com/repos/tj/n/issues/238","labels_url":"https://api.github.com/repos/tj/n/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/tj/n/issues/238/comments","events_url":"https://api.github.com/repos/tj/n/issues/238/events","html_url":"https://github.com/tj/n/issues/238","id":60551344,"number":238,"title":"How to completely uninstall n?","user":{"login":"bigblind","id":737493,"avatar_url":"https://avatars.githubusercontent.com/u/737493?v=3","gravatar_id":"","url":"https://api.github.com/users/bigblind","html_url":"https://github.com/bigblind","followers_url":"https://api.github.com/users/bigblind/followers","following_url":"https://api.github.com/users/bigblind/following{/other_user}","gists_url":"https://api.github.com/users/bigblind/gists{/gist_id}","starred_url":"https://api.github.com/users/bigblind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigblind/subscriptions","organizations_url":"https://api.github.com/users/bigblind/orgs","repos_url":"https://api.github.com/users/bigblind/repos","events_url":"https://api.github.com/users/bigblind/events{/privacy}","received_events_url":"https://api.github.com/users/bigblind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-10T19:01:30Z","updated_at":"2015-03-10T19:01:30Z","closed_at":null,"body":"I was having issues with jest not working with iojs, so I installed n to get node 0.10.x, but still got errors, so now I'm just running jest in a vm. After installing n and switching back to iojs by doing `n io stable`, npm itself just REFUSES to do anything for me, giving me the following message\r\n\r\n```\r\nmodule.js:322\r\n    throw err;\r\n          ^\r\nError: Cannot find module './clear-credentials-by-uri.js'\r\n    at Function.Module._resolveFilename (module.js:320:15)\r\n    at Function.Module._load (module.js:262:25)\r\n    at Module.require (module.js:349:17)\r\n    at require (module.js:368:17)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/npm/lib/config/core.js:230:40)\r\n    at Module._compile (module.js:444:26)\r\n    at Object.Module._extensions..js (module.js:462:10)\r\n    at Module.load (module.js:339:32)\r\n    at Function.Module._load (module.js:294:12)\r\n    at Module.require (module.js:349:17)\r\n````\r\n\r\nWhat would be the best way to get my machine back into a state where at least npm works properly? Seems like uninstalling n, going back to my previously installed version of iojs would do it, but I'm open to other options."}}