You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node:internal/errors:496 Uncaught (in promise) Error: Unhandled error. (SerialPortError {
name: 'SerialPortError',
message: 'Illegal invocation',
errno: 'ECONNREFUSED',
stack: 'TypeError: Illegal invocation\n' +
' at Proxy.stop ({user}/node_modules/modbus-serial/node_modules/@serialport/bindings-cpp/dist/poller.js:89:21)\n' +
' at Proxy.close ({user}/node_modules/modbus-serial/node_modules/@serialport/bindings-cpp/dist/linux.js:55:21)\n' +
' at Proxy.close {user}/node_modules/modbus-serial/node_modules/@serialport/stream/dist/index.js:232:19)\n' +
' at Proxy.close ({user}/node_modules/modbus-serial/ports/rtubufferedport.js:186:22)\n' +
' at Proxy.close ({user}/node_modules/modbus-serial/index.js:650:24)\n' +
' at /{user}/out/preload/index.js:39:27'
})
at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
at new NodeError (node:internal/errors:405:5)
at ModbusRTU.emit (node:events:503:17)
at ModbusRTU._onError ({user}/node_modules/modbus-serial/index.js:552:10)
at RTUBufferedPort.emit (node:events:514:28)
at Proxy.<anonymous> ({user}/node_modules/modbus-serial/ports/rtubufferedport.js:81:18)
at Proxy.emit (node:events:514:28)
at Proxy._error ({user}/node_modules/modbus-serial/node_modules/@serialport/stream/dist/index.js:78:18)
at /{user}2/node_modules/modbus-serial/node_modules/@serialport/stream/dist/index.js:245:25
The text was updated successfully, but these errors were encountered:
I have an error when im trying to close the port.
this.modbusClient.close()
The text was updated successfully, but these errors were encountered: