The IDE port sees, the monitor displays the data, but it gives an error when booting, what could be the problem? it booted up once, but when you click download a second time, there's a port error again.
Try closing the serial monitor before uploading the new sketch.