Our state of the art Gantt chart


Post by danilo.pinho »

Hi there,

I'm trying to integrate a basic instance of the Bryntum Gantt component into an existing Next.js project, currently using Next 15.1.2. However, I'm encountering the following error whenever I attempt to render the Gantt component:

Error: Cannot find module '...node_modules/@bryntum/gantt-react/lib/BryntumFullscreenButton'
imported from '...node_modules/@bryntum/gantt-react/lib/index.js'
From what I can tell, the module BryntumFullscreenButton is either missing or not correctly exported in the @bryntum/gantt-react package.

I'm using the official Bryntum Gantt React wrapper and following the standard usage examples. This is blocking me from even rendering a minimal Gantt chart in the app. I’ve double-checked the installation and made sure all dependencies are correctly installed.

Setup:
Next.js version: 15.1.2
React version: 18.2.0

Bryntum Gantt: @bryntum/gantt-react (latest)

OS: Windows

I’d appreciate any help on:

Whether this is a known issue with the module resolution in the React wrapper?

Is there a workaround to disable/remove the FullscreenButton reference if it’s optional?

Any advice for integrating Bryntum Gantt in modern Next.js apps?

Thanks in advance!


Post by marcio »

Hey danilo.pinho,

Thanks for reaching out, and welcome to our forums. :)

Are you using the latest version of our suite?

We have a guide regarding NextJS integration, did you checked it? https://www.bryntum.com/products/gantt/docs/guide/Gantt/quick-start/nextjs.

We also have a starter template for NextJS, please see it here https://github.com/bryntum/bryntum-gantt-nextjs-quick-start.

If that doesn't solve your issue, please let us know.

Best regards,
Márcio

How to ask for help? Please read our Support Policy


Post by niels-cleantracker »

I'm facing the same issue (just using TanStack start) => viewtopic.php?p=173627&hilit=BryntumFullscreenButton#p173627


Post by marcio »

Hey,

I tested on "@bryntum/gantt-react": "6.3.1", and I see the component available.

Attachments
Screenshot 2025-09-09 at 17.25.40.png
Screenshot 2025-09-09 at 17.25.40.png (250.29 KiB) Viewed 428 times

Best regards,
Márcio

How to ask for help? Please read our Support Policy


Post Reply