React-calendar-timeline: Super expression must either be null or a function on heroku

Created on 8 May 2020  路  7Comments  路  Source: namespace-ee/react-calendar-timeline

Describe the bug
I have been using react-calendar-timeline from the last year but I got this issue recently(from last week actually).
Until that time, it was working well. But for now, I have this issue when I try to import Components from this library.
import Timeline, {
TimelineHeaders,
SidebarHeader,
DateHeader,
CustomMarker
} from "react-calendar-timeline";

interact.min.js:1701 Uncaught TypeError: Super expression must either be null or a function
at interact.min.js:1701
at interact.min.js:1700
at interact.min.js:1699
at Object. (interact.min.js:3)
at p (dashboard:1)
at Object. (Item.js:12)
at p (dashboard:1)
at Object. (Items.js:12)
at p (dashboard:1)
at Object. (Timeline.js:14)

Library Version
0.26.5

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] latest

Most helpful comment

It is a problem with interact JS since version 1.9.11, I had to downgrade interactjs to 1.9.10 and then it worked. The same issue has been reported on interactjs, so hopefully that will get solved and then we can use the latest version again.

For now downgrade interactjs to 1.9.10

All 7 comments

I am also having this error suddenly when hosting on Azure. Did you find a solution to this?

no I didn't
It's working well on dev mode but after built, it's not with this issue.
very odd

The same issue is happening with AWS deployment also, it's working fine on local but erroring out in production build. If anyone has any solution please let us know.

Versions:

"react-calendar-timeline": "^0.26.7"
"interactjs": "^1.9.13"

It is a problem with interact JS since version 1.9.11, I had to downgrade interactjs to 1.9.10 and then it worked. The same issue has been reported on interactjs, so hopefully that will get solved and then we can use the latest version again.

For now downgrade interactjs to 1.9.10

It is a problem with interact JS since version 1.9.11, I had to downgrade interactjs to 1.9.10 and then it worked. The same issue has been reported on interactjs, so hopefully that will get solved and then we can use the latest version again.

For now downgrade interactjs to 1.9.10

Thanks this worked.

It is a problem with interact JS since version 1.9.11, I had to downgrade interactjs to 1.9.10 and then it worked. The same issue has been reported on interactjs, so hopefully that will get solved and then we can use the latest version again.

For now downgrade interactjs to 1.9.10

thanks !

It is a problem with interact JS since version 1.9.11, I had to downgrade interactjs to 1.9.10 and then it worked. The same issue has been reported on interactjs, so hopefully that will get solved and then we can use the latest version again.

For now downgrade interactjs to 1.9.10

@bmtdh Thank you so much for this. Would you kindly tell how did you figure this out?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

forki picture forki  路  5Comments

rosanzheng picture rosanzheng  路  3Comments

fredrik-bjaras picture fredrik-bjaras  路  5Comments

elodszopos picture elodszopos  路  5Comments

pvtran1995 picture pvtran1995  路  6Comments