Error during install Modbus Node in raspberry pi4

As the error seems to be related to serialport, maybe something on this thread will help resolve the issue: Why can't the serial palette be installed?