Upload to Nano fails: "avrdude: ser_open(): can't set com-state for"

Assuming you have clone Nanos with CH340 you will have to roll back the driver. You can fin instructions here: Port monitor error: command 'open' failed: Invalid serial port. Could not connect to COM serial port - #49 by ptillisch