{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/strongloop/issues/309","repository_url":"https://api.github.com/repos/strongloop/strongloop","labels_url":"https://api.github.com/repos/strongloop/strongloop/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/strongloop/issues/309/comments","events_url":"https://api.github.com/repos/strongloop/strongloop/issues/309/events","html_url":"https://github.com/strongloop/strongloop/issues/309","id":153696191,"number":309,"title":"creating relation error \"Getting started part II\"","user":{"login":"tktk8924","id":10039435,"avatar_url":"https://avatars.githubusercontent.com/u/10039435?v=3","gravatar_id":"","url":"https://api.github.com/users/tktk8924","html_url":"https://github.com/tktk8924","followers_url":"https://api.github.com/users/tktk8924/followers","following_url":"https://api.github.com/users/tktk8924/following{/other_user}","gists_url":"https://api.github.com/users/tktk8924/gists{/gist_id}","starred_url":"https://api.github.com/users/tktk8924/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tktk8924/subscriptions","organizations_url":"https://api.github.com/users/tktk8924/orgs","repos_url":"https://api.github.com/users/tktk8924/repos","events_url":"https://api.github.com/users/tktk8924/events{/privacy}","received_events_url":"https://api.github.com/users/tktk8924/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-09T03:16:12Z","updated_at":"2016-05-09T18:52:14Z","closed_at":null,"body":"I'm trying [\"Getting started part II\"](https://docs.strongloop.com/display/public/LB/Define+model+relations) and having a problem with creating relation between CoffeeShop and Review models.\r\n\r\nI got the following error:\r\n\r\n```\r\n? Select the model to create the relationship from: CoffeeShop\r\n? Relation type: has many\r\n? Choose a model to create a relationship with: Review\r\n? Enter the property name for the relation: (reviews)\r\n\r\n\r\n/Users/takehiro/.nodebrew/node/v5.11.1/lib/node_modules/strongloop/node_modules/rx/dist/rx.js:77\r\n    throw e;\r\n    ^\r\ntrue\r\n```\r\n\r\nI followed the following steps:\r\n\r\n```\r\n$ git clone https://github.com/strongloop/loopback-getting-started-intermediate.git\r\n$ cd loopback-getting-started-intermediate\r\n$ git checkout step2\r\n$ npm install\r\n$ slc loopback:relation\r\n```\r\n\r\nVersions:\r\n* Node.js: v5.11.1\r\n* strongloop: 6.0.0\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/strongloop/strongloop/issues/comments/217954750","html_url":"https://github.com/strongloop/strongloop/issues/309#issuecomment-217954750","issue_url":"https://api.github.com/repos/strongloop/strongloop/issues/309","id":217954750,"user":{"login":"superkhau","id":1617364,"avatar_url":"https://avatars.githubusercontent.com/u/1617364?v=3","gravatar_id":"","url":"https://api.github.com/users/superkhau","html_url":"https://github.com/superkhau","followers_url":"https://api.github.com/users/superkhau/followers","following_url":"https://api.github.com/users/superkhau/following{/other_user}","gists_url":"https://api.github.com/users/superkhau/gists{/gist_id}","starred_url":"https://api.github.com/users/superkhau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superkhau/subscriptions","organizations_url":"https://api.github.com/users/superkhau/orgs","repos_url":"https://api.github.com/users/superkhau/repos","events_url":"https://api.github.com/users/superkhau/events{/privacy}","received_events_url":"https://api.github.com/users/superkhau/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T18:52:14Z","updated_at":"2016-05-09T18:52:14Z","body":"This issue was moved to strongloop/loopback-getting-started-intermediate#20"}}