Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating relation error "Getting started part II" #309

Closed
ghost opened this issue May 9, 2016 · 2 comments
Closed

creating relation error "Getting started part II" #309

ghost opened this issue May 9, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented May 9, 2016

I'm trying "Getting started part II" and having a problem with creating relation between CoffeeShop and Review models.

I got the following error:

? Select the model to create the relationship from: CoffeeShop
? Relation type: has many
? Choose a model to create a relationship with: Review
? Enter the property name for the relation: (reviews)


/Users/takehiro/.nodebrew/node/v5.11.1/lib/node_modules/strongloop/node_modules/rx/dist/rx.js:77
    throw e;
    ^
true

I followed the following steps:

$ git clone https://github.com/strongloop/loopback-getting-started-intermediate.git
$ cd loopback-getting-started-intermediate
$ git checkout step2
$ npm install
$ slc loopback:relation

Versions:

  • Node.js: v5.11.1
  • strongloop: 6.0.0

Thanks.

@sam-github
Copy link
Contributor

cc: @superkhau

@superkhau
Copy link
Contributor

This issue was moved to strongloop/loopback-getting-started-intermediate#20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants