{"action":"created","issue":{"url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/44","repository_url":"https://api.github.com/repos/swirlycheetah/generator-angular2","labels_url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/44/comments","events_url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/44/events","html_url":"https://github.com/swirlycheetah/generator-angular2/issues/44","id":142381095,"number":44,"title":"Error when running the command yo angular2","user":{"login":"cto-oneva","id":13184766,"avatar_url":"https://avatars.githubusercontent.com/u/13184766?v=3","gravatar_id":"","url":"https://api.github.com/users/cto-oneva","html_url":"https://github.com/cto-oneva","followers_url":"https://api.github.com/users/cto-oneva/followers","following_url":"https://api.github.com/users/cto-oneva/following{/other_user}","gists_url":"https://api.github.com/users/cto-oneva/gists{/gist_id}","starred_url":"https://api.github.com/users/cto-oneva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cto-oneva/subscriptions","organizations_url":"https://api.github.com/users/cto-oneva/orgs","repos_url":"https://api.github.com/users/cto-oneva/repos","events_url":"https://api.github.com/users/cto-oneva/events{/privacy}","received_events_url":"https://api.github.com/users/cto-oneva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-21T15:20:26Z","updated_at":"2016-03-28T20:18:54Z","closed_at":null,"body":"I've followed as per your tutorials and find the following error when running  `yo angular2`.\r\n\r\n```\r\nError angular2 \r\n\r\nYou don't seem to have a generator with the name angular2 installed.\r\nYou can see available generators with npm search yeoman-generator \r\nand then install them with npm install [name].\r\n```\r\nThe yo and angular-generator has been installed using the following command:\r\n`npm install -g yo generator-angular2`\r\n"},"comment":{"url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/comments/202565255","html_url":"https://github.com/swirlycheetah/generator-angular2/issues/44#issuecomment-202565255","issue_url":"https://api.github.com/repos/swirlycheetah/generator-angular2/issues/44","id":202565255,"user":{"login":"vuxor","id":6651612,"avatar_url":"https://avatars.githubusercontent.com/u/6651612?v=3","gravatar_id":"","url":"https://api.github.com/users/vuxor","html_url":"https://github.com/vuxor","followers_url":"https://api.github.com/users/vuxor/followers","following_url":"https://api.github.com/users/vuxor/following{/other_user}","gists_url":"https://api.github.com/users/vuxor/gists{/gist_id}","starred_url":"https://api.github.com/users/vuxor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuxor/subscriptions","organizations_url":"https://api.github.com/users/vuxor/orgs","repos_url":"https://api.github.com/users/vuxor/repos","events_url":"https://api.github.com/users/vuxor/events{/privacy}","received_events_url":"https://api.github.com/users/vuxor/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T20:18:54Z","updated_at":"2016-03-28T20:18:54Z","body":"If you are trying to install with \"-g\" flag that means it will be installed globally on your system and that's why you need to run this command with \"sudo\"."}}