Error al importar dhx-suite sobre angular 9 con node v12.19


#1

Dear DHTMLX

We are using Angular 9 with node 12.19.0.

When importing

import {Combobox as ComboboxDHX} from “dhx-suite”

The error in the browser is

11: 42: 18.378 suite.js: 1606 Uncaught TypeError: Cannot read property ‘setImmediate’ of undefined
at suite.js: 1606
at Object. (suite.js: 1914)
at Object. (suite.js: 1916)
at nested_webpack_require_762 (suite.js: 41)
at Object. (suite.js: 172)
at nested_webpack_require_762 (suite.js: 41)
at Object. (suite.js: 11104)
at nested_webpack_require_762 (suite.js: 41)
at Object. (suite.js: 11074)
at nested_webpack_require_762 (suite.js: 41)


#2

Could you please, provide a complete demo, where the problem could be reconstructed locally.
if it is a “audioRedaccion” demo from the support (according to the nickname it is seems to be you) I hope the problem is solved.


#3

Hi, we can see the same error if we try to import the dhx-suite module hosted in npm with vitejs instead of webpack in a plain javascript project.


#4

I apologize for the delay with the reply.
Could you please, provide a complete demo or you app, so the problem could be checked locally.