search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Upgrading Daypilot with NextJS (react / typescript) does not work

Asked by Ob
10 months ago.

I have been trying to upgrade Daypilot (or Next.Js) but and have been using this version:

Daypilot: 2022.4.5483.tar.gz
NextJs: ^12.2.0

However, If I upgrade both to latest version:"

Daypilot: 2023.3.5603.tar.gz
NextJs: 13.4.7

I used the regular upgrade guide for NextJs:
https://nextjs.org/docs/pages/building-your-application/upgrading/version-13

The build will work but when opening the page I get this error:
TypeError: u.DayPilot.Bubble is not a constructor

So I can either upgrade Daypilot or NextJs but not both :)

Does anyone have some advice? thanks

Comment posted by Dan Letecky [DayPilot]
10 months ago.

Please let me check the problem. I will let you know as soon as I know more.

Answer posted by Dan Letecky [DayPilot]
9 months ago.

This should be fixed now in the latest sandbox build (2023.3.5621).

See also: https://release.daypilot.org/changes/js/

Please let me know if the problem persists.

Comment posted by Ob
9 months ago.

Thank you @Dan, this worked out well.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.