Page 1 of 1

Viewer render issue with nextjs version lower than 13

Posted: Tue Mar 19, 2024 7:57 am
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!

Re: Viewer render issue with nextjs version lower than 13

Posted: Tue Mar 19, 2024 2:37 pm
by Max Shamanov
Hello,

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

Thank you.

Re: Viewer render issue with nextjs version lower than 13

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

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

Thank you.

Re: Viewer render issue with nextjs version lower than 13

Posted: Thu Mar 21, 2024 4:25 am
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?

Re: Viewer render issue with nextjs version lower than 13

Posted: Thu Mar 21, 2024 2:13 pm
by Max Shamanov
Hello,

Please check the attached image.


Thank you.