dataProcessor() gives an error


#1

The browser gives a console error for the line: var dp = new dataProcessor(“data”); that runs in the script in index.html.

It throws an error: Uncaught ReferenceError: dataProcessor is not defined and no data is printed in the browser.

Have followed this setup guide https://dhtmlx.com/blog/dhtmlxgantt-with-nodejs/

Am i missing something?


#2

Hello Marcus,
Have you connected all necessary javascript files (dhtmlxgantt.js)? Could you send me your node.js package so that I can see launch it locally and check what might be wrong?