Secretmapper / react-image-annotation

An infinitely customizable image annotation library built on React
https://secretmapper.github.io/react-image-annotation/
MIT License
325 stars 135 forks source link

TypeError: Super expression must either be null or a function, not undefined #2

Closed gajju3588 closed 6 years ago

gajju3588 commented 6 years ago

Facing this error while using this Annotator component :

[1] [piping] error given was: TypeError: Super expression must either be null or a function, not undefined [1] at _inherits (/Users/XXXX/projects/XX/node_modules/react-image-annotation/lib/utils/withRelativeMousePos.js:17:113)

React version for my project is : 0.14.9

Is this happening due to version mismatch ?

Secretmapper commented 6 years ago

Hello!

Yes this is happening due to the version mismatch. There are currently no plans to support older versions of React.