Skip to content

Cannot set property 'exists' of undefined #25

@cesarho

Description

@cesarho

I got this error in /admin page, any idea?

angular.js:4621 Uncaught TypeError: Cannot set property 'exists' of undefined
at Object. (loopback-admin.resources.js:3967)
at Object.invoke (angular.js:4657)
at Object.enforcedReturnValue [as $get] (angular.js:4509)
at Object.invoke (angular.js:4657)
at angular.js:4469
at Object.getService [as get] (angular.js:4616)
at Object.$get (loopback-admin.js:420)
at Object.invoke (angular.js:4657)
at angular.js:4469
at getService (angular.js:4616)

line 3967 is:
R.postLikes.exists = function() {
var TargetResource = $injector.get("Post");
var action = TargetResource["::exists::Member::postLikes"];
return action.apply(R, arguments);
};

It is a through model, is it not supported ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions