caobo171 / node-zklib

This is a lightweight of node.js module to connect to biometrix attendance device for examples ZKTeco
72 stars 61 forks source link

It shows me error in decodetcpheader method #49

Open Unayes09 opened 7 months ago

Unayes09 commented 7 months ago

ok tcp Waiting for the debugger to disconnect... F:\zkteco\zklib\node_modules\node-zklib\zklibtcp.js:234 const header = decodeTCPHeader(reply.subarray(0, 16)) ^

TypeError: Cannot read properties of null (reading 'subarray') at F:\zkteco\zklib\node_modules\node-zklib\zklibtcp.js:234:44

Node.js v21.1.0