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 #18

Closed
richardw16 opened this issue May 8, 2024 · 1 comment · Fixed by #20
Closed

TypeError #18

richardw16 opened this issue May 8, 2024 · 1 comment · Fixed by #20

Comments

@richardw16
Copy link

Hello,

I installed image-js on my system (node v20.12.2) and encountered an error during initialization that seems related to a possible circular dependency? I'm reaching out for some assistance in resolving this issue. Here are the details:

Error Message:

class ExponentialRegression extends BaseRegression {
^
TypeError: Class extends value # is not a constructor or null

Steps to Reproduce:

  • Install the latest version of image-js
  • import { Image } from 'image-js';

Thank you for your assistance and for maintaining this useful project!

Best regards,
Richard

@targos
Copy link
Member

targos commented May 9, 2024

@jobo322 Please have a look. This is probably because of the major updates from 0db2c54. The type definitions need to be adapted.

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

Successfully merging a pull request may close this issue.

3 participants