{"action":"created","issue":{"url":"https://api.github.com/repos/tj/n/issues/310","labels_url":"https://api.github.com/repos/tj/n/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/tj/n/issues/310/comments","events_url":"https://api.github.com/repos/tj/n/issues/310/events","html_url":"https://github.com/tj/n/issues/310","id":108866235,"number":310,"title":"Error with npm after updating from v0.10.33 to v4.x","user":{"login":"matiasdecarli","id":2442390,"avatar_url":"https://avatars.githubusercontent.com/u/2442390?v=3","gravatar_id":"","url":"https://api.github.com/users/matiasdecarli","html_url":"https://github.com/matiasdecarli","followers_url":"https://api.github.com/users/matiasdecarli/followers","following_url":"https://api.github.com/users/matiasdecarli/following{/other_user}","gists_url":"https://api.github.com/users/matiasdecarli/gists{/gist_id}","starred_url":"https://api.github.com/users/matiasdecarli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiasdecarli/subscriptions","organizations_url":"https://api.github.com/users/matiasdecarli/orgs","repos_url":"https://api.github.com/users/matiasdecarli/repos","events_url":"https://api.github.com/users/matiasdecarli/events{/privacy}","received_events_url":"https://api.github.com/users/matiasdecarli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-09-29T13:13:08Z","updated_at":"2015-11-30T17:11:09Z","closed_at":null,"body":"Before\r\n\r\n```\r\n➜  node --version\r\nv0.10.33\r\n➜  npm --version\r\n1.4.28\r\n```\r\n\r\nAfter\r\n\r\n```\r\n➜  node --version\r\nv4.1.0\r\n➜  npm --version\r\n1.4.28\r\n```\r\n\r\nAnd then, after a npm install, I get\r\n\r\n```\r\n➜  project git:(master) npm install\r\nnpm ERR! Error: Cannot find module '../utils/correct-mkdir.js'\r\nnpm ERR!     at Function.Module._resolveFilename (module.js:336:15)\r\nnpm ERR!     at Function.Module._load (module.js:286:25)\r\nnpm ERR!     at Module.require (module.js:365:17)\r\nnpm ERR!     at require (module.js:384:17)\r\nnpm ERR!     at Object.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/locker.js:9:20)\r\nnpm ERR!     at Module._compile (module.js:434:26)\r\nnpm ERR!     at Object.Module._extensions..js (module.js:452:10)\r\nnpm ERR!     at Module.load (module.js:355:32)\r\nnpm ERR!     at Function.Module._load (module.js:310:12)\r\nnpm ERR!     at Module.require (module.js:365:17)\r\nnpm ERR!     at require (module.js:384:17)\r\nnpm ERR! If you need help, you may report this *entire* log,\r\nnpm ERR! including the npm and node versions, at:\r\nnpm ERR!     <http://github.com/npm/npm/issues>\r\n\r\nnpm ERR! System Darwin 14.5.0\r\nnpm ERR! command \"/usr/local/bin/iojs\" \"/usr/local/bin/npm\" \"install\"\r\nnpm ERR! cwd /Users/matias/Workspace/project\r\nnpm ERR! node -v v4.1.0\r\nnpm ERR! npm -v 1.4.28\r\nnpm ERR! code MODULE_NOT_FOUND\r\nnpm ERR!\r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /Users/matias/Workspace/project/npm-debug.log\r\nnpm ERR! not ok code 0\r\n```\r\n\r\nIm using Yosemite. Is there any workarround for this?"},"comment":{"url":"https://api.github.com/repos/tj/n/issues/comments/160692623","html_url":"https://github.com/tj/n/issues/310#issuecomment-160692623","issue_url":"https://api.github.com/repos/tj/n/issues/310","id":160692623,"user":{"login":"josephh","id":1249267,"avatar_url":"https://avatars.githubusercontent.com/u/1249267?v=3","gravatar_id":"","url":"https://api.github.com/users/josephh","html_url":"https://github.com/josephh","followers_url":"https://api.github.com/users/josephh/followers","following_url":"https://api.github.com/users/josephh/following{/other_user}","gists_url":"https://api.github.com/users/josephh/gists{/gist_id}","starred_url":"https://api.github.com/users/josephh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephh/subscriptions","organizations_url":"https://api.github.com/users/josephh/orgs","repos_url":"https://api.github.com/users/josephh/repos","events_url":"https://api.github.com/users/josephh/events{/privacy}","received_events_url":"https://api.github.com/users/josephh/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T17:11:09Z","updated_at":"2015-11-30T17:11:09Z","body":"@matiasdecarli I'm seeing the same thing, having used n to go from node 0.10.33 to 5.  Did you solve it?"}}