Exit status 1Exit Status 1 on Nano and most recent ide

If it did not flash, there is no bootloader on the 328P processor. Can you post a link to what you exactly bought. Or post a clear photo of the top so we can try to identify the microcontroller.

The usual solution is to (try to) burn the bootloader.