Viewer render issue with nextjs version lower than 13

Stimulsoft Reports.JS discussion
Post Reply
will
Posts: 3
Joined: Thu Feb 22, 2024 9:51 am

Viewer render issue with nextjs version lower than 13

Post by will »

Hi guys:

when using Next.js versions lower than 13, there is an issue where the viewer fails to render certain elements when rendering reports with the newPageAfter attribute.
I've found that this issue only occurs in the compiled code. You can run

Code: Select all

npm install && npm run build && npm run start
with the code I provided.

See picture below:

Image


If i upgrade the nextjs version to 13, it can render normally after compiling and running.

Image

I'm not sure of the exact reason behind it, but for now, we don't want to upgrade Next.js and React (which requires React version 18).

Your help would be greatly appreciated!
Attachments
stimulsoft.zip
(2.13 MiB) Downloaded 48 times
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Viewer render issue with nextjs version lower than 13

Post by Max Shamanov »

Hello,

We need some time to investigate the issue.
We will let you know about the result.

Thank you.
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Viewer render issue with nextjs version lower than 13

Post by Max Shamanov »

Hello,

Unfortunately, we were unable to launch your project.
An error occurred at the build step.

Thank you.
will
Posts: 3
Joined: Thu Feb 22, 2024 9:51 am

Re: Viewer render issue with nextjs version lower than 13

Post by will »

Max Shamanov wrote: Wed Mar 20, 2024 7:45 am Hello,

Unfortunately, we were unable to launch your project.
An error occurred at the build step.

Thank you.
Hello, can you provide the error message?
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Viewer render issue with nextjs version lower than 13

Post by Max Shamanov »

Hello,

Please check the attached image.


Thank you.
Attachments
cmd_6ruiytZsLD.png
cmd_6ruiytZsLD.png (113.58 KiB) Viewed 721 times
Post Reply