I was editing code, uploading, plugging in and out. Arudino working fine. Then I plug it back in and I can't upload to my Arduino Nano anymore and only the red power led comes on.
Operating System - Windows 10
Board - Arduino Nano
Error message
Arduino: 1.8.6 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
Sketch uses 3790 bytes (12%) of program storage space. Maximum is 30720 bytes.
Global variables use 294 bytes (14%) of dynamic memory, leaving 1754 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\\.\COM5": The system cannot find the file specified.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
note: I can upload the exact same code and use same settings onto my other arduino nano.