Arduino Uno stopped working

Everything was working fine. I was making changes to my sketch and uploading. Then at one point when I tried opening the serial monitor my mac went into reboot thereafter I could not upload a sketch.

When I was uploading the arduino was powered by an external 12v source.

What could have gone wrong? Is the board toast?

Here is the error message:

Arduino: 1.8.10 (Mac OS X), Board: "Arduino/Genuino Uno"

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
/Applications/Arduino 5.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino 5.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.wchusbserialfd120 -b115200 -D -Uflash:w:/var/folders/xz/1x9v0skx3tz6wrfvzgy1b4gr0000gn/T/arduino_build_544492/sketch_dec03c.ino.hex:i

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/Applications/Arduino 5.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/johndoe/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/cu.wchusbserialfd120
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "/dev/cu.wchusbserialfd120": No such file or directory

avrdude done. Thank you.

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.

Hi,

'User configuration file is "/Users/johndoe/.avrduderc" '
'User configuration file does not exist or is not a regular file, skipping'

is this folder and file still there or has it been corrupted?

I'd uninstall everything, make sure it's all gone and then re-install as a starting point.

Peter

Could not find the file. Will have to switch to new board.

Peterd51:
'User configuration file is "/Users/johndoe/.avrduderc" '
'User configuration file does not exist or is not a regular file, skipping'

is this folder and file still there or has it been corrupted?

User configuration file is used to override the system wide configuration file on a per user basis. Most people don't use it and the message is very normal.