[vite] Internal server error: globalThis.matchMedia is not a function
at Function.get isTouchDevice (/Users/../Documents/../DCUI/node_modules/@bryntum/gantt/gantt.module.js:101:40)
at eval (/Users/../Documents/../DCUI/node_modules/@bryntum/gantt/gantt.module.js19)
at async instantiateModule (file:///Users/../Documents/../DCUI/node_modules/vite/dist/node/chunks/dep-G-px366b.js:54758:9) (x3)
Trying to use angular 17, i am getting this error.
"@bryntum/gantt": "5.6.8",
"@bryntum/gantt-angular": "5.6.8",
Any idea how to solve this?