Skip to content

TypeError: Class extends value constructor [..] is not a constructor or null #17

Open
@Znarkus

Description

@Znarkus
    TypeError: Class extends value constructor(attributes, options) {
          proto.constructor.apply(this, arguments)
          const virtuals = this.v...<omitted>... } is not a constructor or null

We're getting this after upgrading to v. 1.0.0
If we deactivate the plugin, the error disappears.

  const bookshelf = new Bookshelf(options)

  bookshelf
    .plugin('bookshelf-virtuals-plugin')

Node version 14.15.1

Are we doing something weird?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions