Skip to content

TypeError: this.controller.get is not a function #3

Open

Description

@jorycn

When i run node app,
I get the following error when I try to generate a JSON schema like so:

/home/ubuntu/workspace/mongoose-administration-example/node_modules/mongoose-schema/BaucisPropertyFilter.js:7
    var select = this.controller.get("select");
                                 ^

TypeError: this.controller.get is not a function
    at BaucisPropertyFilter.isIncluded (/home/ubuntu/workspace/mongoose-administration-example/node_modules/mongoose-schema/BaucisPropertyFilter.js:7:34)
    at AbstractSchemaGenerator.isIncluded (/home/ubuntu/workspace/mongoose-administration-example/node_modules/mongoose-schema/AbstractSchemaGenerator.js:25:36)
    at null.<anonymous> (/home/ubuntu/workspace/mongoose-administration-example/node_modules/mongoose-schema/GformSchemaGenerator.js:69:49)
    at Array.forEach (native)
    at GformSchemaGenerator.generateAttributes (/home/ubuntu/workspace/mongoose-administration-example/node_modules/mongoose-schema/GformSchemaGenerator.js:68:31)
    at GformSchemaGenerator.generate (/home/ubuntu/workspace/mongoose-administration-example/node_modules/mongoose-schema/GformSchemaGenerator.js:22:27)
    at BaucisSchemaGenerator.generateModelDefinition (/home/ubuntu/workspace/mongoose-administration-example/node_modules/baucis-gform/BaucisSchemaGenerator.js:27:27)
    at null.<anonymous> (/home/ubuntu/workspace/mongoose-administration-example/node_modules/baucis-gform/Gform.js:66:28)
    at Array.forEach (native)
    at Gform.start (/home/ubuntu/workspace/mongoose-administration-example/node_modules/baucis-gform/Gform.js:53:19)

Activity

  1. changed the title [-]I get some error~[/-] [+]TypeError: this.controller.get is not a function[/+] on Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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