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

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

Open
Znarkus opened this issue Nov 20, 2020 · 1 comment

Comments

@Znarkus
Copy link

Znarkus commented Nov 20, 2020

    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?

@robertofrontado
Copy link

I'm experiencing the same issue, did you manage to solve it? @Znarkus

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