{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/2964","repository_url":"https://api.github.com/repos/strongloop/loopback","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/2964/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/2964/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/2964/events","html_url":"https://github.com/strongloop/loopback/issues/2964","id":190708282,"number":2964,"title":"Not able to create model in loopback","user":{"login":"beingshashi","id":11500129,"avatar_url":"https://avatars.githubusercontent.com/u/11500129?v=3","gravatar_id":"","url":"https://api.github.com/users/beingshashi","html_url":"https://github.com/beingshashi","followers_url":"https://api.github.com/users/beingshashi/followers","following_url":"https://api.github.com/users/beingshashi/following{/other_user}","gists_url":"https://api.github.com/users/beingshashi/gists{/gist_id}","starred_url":"https://api.github.com/users/beingshashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beingshashi/subscriptions","organizations_url":"https://api.github.com/users/beingshashi/orgs","repos_url":"https://api.github.com/users/beingshashi/repos","events_url":"https://api.github.com/users/beingshashi/events{/privacy}","received_events_url":"https://api.github.com/users/beingshashi/received_events","type":"User","site_admin":false},"labels":[{"id":172069873,"url":"https://api.github.com/repos/strongloop/loopback/labels/triage","name":"triage","color":"eb6420","default":false},{"id":135935296,"url":"https://api.github.com/repos/strongloop/loopback/labels/waiting","name":"waiting","color":"eeeeee","default":false}],"state":"open","locked":false,"assignee":{"login":"jannyHou","id":12554153,"avatar_url":"https://avatars.githubusercontent.com/u/12554153?v=3","gravatar_id":"","url":"https://api.github.com/users/jannyHou","html_url":"https://github.com/jannyHou","followers_url":"https://api.github.com/users/jannyHou/followers","following_url":"https://api.github.com/users/jannyHou/following{/other_user}","gists_url":"https://api.github.com/users/jannyHou/gists{/gist_id}","starred_url":"https://api.github.com/users/jannyHou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannyHou/subscriptions","organizations_url":"https://api.github.com/users/jannyHou/orgs","repos_url":"https://api.github.com/users/jannyHou/repos","events_url":"https://api.github.com/users/jannyHou/events{/privacy}","received_events_url":"https://api.github.com/users/jannyHou/received_events","type":"User","site_admin":false},"assignees":[{"login":"jannyHou","id":12554153,"avatar_url":"https://avatars.githubusercontent.com/u/12554153?v=3","gravatar_id":"","url":"https://api.github.com/users/jannyHou","html_url":"https://github.com/jannyHou","followers_url":"https://api.github.com/users/jannyHou/followers","following_url":"https://api.github.com/users/jannyHou/following{/other_user}","gists_url":"https://api.github.com/users/jannyHou/gists{/gist_id}","starred_url":"https://api.github.com/users/jannyHou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannyHou/subscriptions","organizations_url":"https://api.github.com/users/jannyHou/orgs","repos_url":"https://api.github.com/users/jannyHou/repos","events_url":"https://api.github.com/users/jannyHou/events{/privacy}","received_events_url":"https://api.github.com/users/jannyHou/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-11-21T12:53:36Z","updated_at":"2016-11-26T10:43:14Z","closed_at":null,"body":"? Enter the model name: account_info\r\n? Select the data-source to attach account_info to: users (mongodb)\r\n(node:11564) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'type' of undefined\r\n\r\n\r\nevents.js:160\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\n\r\nTypeError: Cannot read property 'type' of undefined\r\n    at /usr/lib/node_modules/yeoman-generator/node_modules/yeoman-environment/node_modules/inquirer/lib/objects/choices.js:16:12\r\n    at Array.map (native)\r\n    at new module.exports (/usr/lib/node_modules/yeoman-generator/node_modules/yeoman-environment/node_modules/inquirer/lib/objects/choices.js:15:26)\r\n    at Prompt.module.exports (/usr/lib/node_modules/yeoman-generator/node_modules/yeoman-environment/node_modules/inquirer/lib/prompts/base.js:43:24)\r\n    at new Prompt (/usr/lib/node_modules/yeoman-generator/node_modules/yeoman-environment/node_modules/inquirer/lib/prompts/list.js:26:8)\r\n    at PromptUI.fetchAnswer (/usr/lib/node_modules/yeoman-generator/node_modules/yeoman-environment/node_modules/inquirer/lib/ui/prompt.js:77:16)\r\n    at tryCatcher (/usr/lib/node_modules/yeoman-generator/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:63:31)\r\n    at InnerObserver.Rx.FlatMapObservable.InnerObserver.next (/usr/lib/node_modules/yeoman-generator/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:2140:43)\r\n    at InnerObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/usr/lib/node_modules/yeoman-generator/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:1762:31)\r\n    at InnerObserver.tryCatcher (/usr/lib/node_modules/yeoman-generator/node_modules/yeoman-environment/node_modules/inquirer/node_modules/rx/dist/rx.js:63:31)"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/263056586","html_url":"https://github.com/strongloop/loopback/issues/2964#issuecomment-263056586","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/2964","id":263056586,"user":{"login":"beingshashi","id":11500129,"avatar_url":"https://avatars.githubusercontent.com/u/11500129?v=3","gravatar_id":"","url":"https://api.github.com/users/beingshashi","html_url":"https://github.com/beingshashi","followers_url":"https://api.github.com/users/beingshashi/followers","following_url":"https://api.github.com/users/beingshashi/following{/other_user}","gists_url":"https://api.github.com/users/beingshashi/gists{/gist_id}","starred_url":"https://api.github.com/users/beingshashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beingshashi/subscriptions","organizations_url":"https://api.github.com/users/beingshashi/orgs","repos_url":"https://api.github.com/users/beingshashi/repos","events_url":"https://api.github.com/users/beingshashi/events{/privacy}","received_events_url":"https://api.github.com/users/beingshashi/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T10:43:14Z","updated_at":"2016-11-26T10:43:14Z","body":"Hi @jannyHou  I tried `sudo npm install yeoman-generator --save` and also `sudo npm install generator-loopback --save` , still i have same issues:-\r\nnpm version =>3.10.8\r\nnode version =>v6.9.1\r\nubuntu 14.04"}}
{"actor":{"display_login":"beingshashi"}}