No upload Mojave and Uno

Hi there. I am an absolute beginner here. I have been trying to use my Uno with my new Macbook Pro, all up to date. My ports look this:

/dev/cu.usbmodem/1411401

but when I try to verify or upload I get this----

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

fork/exec /Users/sasha/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++: no such file or directory
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Strangely when I look in Preferences there is no option to Show verbose.
Please can I get some help here?
Thank you!
Sasha :confused:

HI there

Still need help here. I did manage to change the preferences to see the full error code. No sense to me. Anyone? I am a teacher and really want to teach some simple robotics next term to my art students. Please please help!

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

/private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware -hardware /Users/sasha/Library/Arduino15/packages -tools /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/tools-builder -tools /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/sasha/Library/Arduino15/packages -built-in-libraries /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/libraries -libraries /Users/sasha/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10808 -build-path /var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/arduino_build_797922 -warnings=none -build-cache /var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/arduino_cache_291710 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Users/sasha/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/sasha/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.avr-gcc.path=/Users/sasha/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/Users/sasha/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -verbose /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
/private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware -hardware /Users/sasha/Library/Arduino15/packages -tools /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/tools-builder -tools /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/sasha/Library/Arduino15/packages -built-in-libraries /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/libraries -libraries /Users/sasha/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10808 -build-path /var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/arduino_build_797922 -warnings=none -build-cache /var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/arduino_cache_291710 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Users/sasha/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/sasha/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.2.1 -prefs=runtime.tools.avr-gcc.path=/Users/sasha/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/Users/sasha/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2 -verbose /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
Using board 'uno' from platform in folder: /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware/arduino/avr
Using core 'arduino' from platform in folder: /private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used...
/Users/sasha/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/AppTranslocation/D10DF419-9BB5-49A6-AE3D-8B03FDA25CDC/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard /var/folders/m6/90bqv_ys4z35jv689my_83k80000gn/T/arduino_build_797922/sketch/Blink.ino.cpp -o /dev/null
fork/exec /Users/sasha/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++: no such file or directory
Error compiling for board Arduino/Genuino Uno.

Try this:

  • Delete the /Users/sasha/Library/Arduino15 folder. Please be very careful when deleting things on your computer. When in doubt, back up!
  • Restart the Arduino IDE.
  • Try uploading again.

Note that your preferences settings are stored at /Users/sasha/Library/Arduino15 so they will have been set to the defaults when you deleted that folder. You may need to select the appropriate board, port, and any other settings you previously had. Alternately, you could save the /Users/sasha/Library/Arduino15/preferences.txt file and just delete everything else in and below that folder.