{"action":"created","issue":{"url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/28","labels_url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/28/comments","events_url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/28/events","html_url":"https://github.com/swirlycheetah/generator-angular2/issues/28","id":85968544,"number":28,"title":"Error running yo angular2","user":{"login":"tristanisfeld","id":2880031,"avatar_url":"https://avatars.githubusercontent.com/u/2880031?v=3","gravatar_id":"","url":"https://api.github.com/users/tristanisfeld","html_url":"https://github.com/tristanisfeld","followers_url":"https://api.github.com/users/tristanisfeld/followers","following_url":"https://api.github.com/users/tristanisfeld/following{/other_user}","gists_url":"https://api.github.com/users/tristanisfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/tristanisfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristanisfeld/subscriptions","organizations_url":"https://api.github.com/users/tristanisfeld/orgs","repos_url":"https://api.github.com/users/tristanisfeld/repos","events_url":"https://api.github.com/users/tristanisfeld/events{/privacy}","received_events_url":"https://api.github.com/users/tristanisfeld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-08T00:17:36Z","updated_at":"2015-06-08T03:41:48Z","closed_at":null,"body":"iojs v: 2.2.1\r\nnpm v: 2.11.0\r\n\r\n$ yo angular2\r\nmodule.js:334\r\n    throw err;\r\n          ^\r\nError: Cannot find module 'lru-cache'\r\n    at Function.Module._resolveFilename (module.js:332:15)\r\n    at Function.Module._load (module.js:282:25)\r\n    at Module.require (module.js:361:17)\r\n    at require (module.js:380:17)\r\n    at C:\\Users\\trist\\AppData\\Roaming\\npm\\node_modules\\generator-angular2\\node_modules\\yeoman-generator\\node_modules\\download\\node_modules\\vinyl-fs\\node_modules\r\n\\glob-watcher\\node_modules\\gaze\\node_modules\\globule\\node_modules\\minimatch\\minimatch.js:35:11\r\n    at Object.<anonymous> (C:\\Users\\trist\\AppData\\Roaming\\npm\\node_modules\\generator-angular2\\node_modules\\yeoman-generator\\node_modules\\download\\node_modules\\v\r\ninyl-fs\\node_modules\\glob-watcher\\node_modules\\gaze\\node_modules\\globule\\node_modules\\minimatch\\minimatch.js:1051:3)\r\n    at Module._compile (module.js:426:26)\r\n    at Object.Module._extensions..js (module.js:444:10)\r\n    at Module.load (module.js:351:32)\r\n    at Function.Module._load (module.js:306:12)"},"comment":{"url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/comments/109852626","html_url":"https://github.com/swirlycheetah/generator-angular2/issues/28#issuecomment-109852626","issue_url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/28","id":109852626,"user":{"login":"tristanisfeld","id":2880031,"avatar_url":"https://avatars.githubusercontent.com/u/2880031?v=3","gravatar_id":"","url":"https://api.github.com/users/tristanisfeld","html_url":"https://github.com/tristanisfeld","followers_url":"https://api.github.com/users/tristanisfeld/followers","following_url":"https://api.github.com/users/tristanisfeld/following{/other_user}","gists_url":"https://api.github.com/users/tristanisfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/tristanisfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristanisfeld/subscriptions","organizations_url":"https://api.github.com/users/tristanisfeld/orgs","repos_url":"https://api.github.com/users/tristanisfeld/repos","events_url":"https://api.github.com/users/tristanisfeld/events{/privacy}","received_events_url":"https://api.github.com/users/tristanisfeld/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T03:41:48Z","updated_at":"2015-06-08T03:41:48Z","body":"After uninstalling iojs and installing nodejs 0.12.4, the issue is resolved. This appears to be a iojs breaking change of yeoman generators."}}