Skip to content

slc loopback:relation throws error #2292

@JordanMajd

Description

@JordanMajd

When I run the loopback relation command I get an error after I enter the property name for the relation.

The error:

/usr/local/lib/node_modules/strongloop/node_modules/rx/dist/rx.js:77
    throw e;
    ^
true

Here is a log of my terminal so you can see all the options I selected:

$ slc loopback:relation
(node:31096) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
? Select the model to create the relationship from: Sport
? Relation type: has one
? Choose a model to create a relationship with: PerformanceEvaluation
? Enter the property name for the relation: (performanceEvaluations)


/usr/local/lib/node_modules/strongloop/node_modules/rx/dist/rx.js:77
    throw e;
    ^
true

Any hints? Thanks!

And selection the model to create the relationship from:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions