...
The serialport module version(https://www.npmjs.com/package/serialport) is important:
BOS versions 9.0.129 120 and 8.5 and below should use serialport version 9.0.0.
Newer BOS versions BOS version 9.0.129 and newer should use serialport version 11.0.0.
...