Closed AlonsoGuerrero closed 5 years ago
Hi, sorry its my mistake, you should import using 'default': Eg:
const PLC = require("node-logix").default;
....
Check others examples: https://github.com/punisher97/node-logix/blob/master/examples/01_write_read_simple.js
When I try to run the Example with events, read and write tags the console prints TypeError: PLC is not a constructor