open NUL: The system cannot find the file specified Error

Hey

I want to upload my code to my ATmega328 UNO DEVELOPMENT BOARD but when i do it i get this error:
open NUL: The system cannot find the file specified.
Error compiling for board Arduino/Genuino Uno.

The verbose output is:

Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Thornax\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10810 -build-path C:\Users\Thornax\AppData\Local\Temp\arduino_build_686900 -warnings=none -build-cache C:\Users\Thornax\AppData\Local\Temp\arduino_cache_754634 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Thornax\Desktop\ARDUINO\ActieveBuzzer\ActieveBuzzer.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Thornax\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10810 -build-path C:\Users\Thornax\AppData\Local\Temp\arduino_build_686900 -warnings=none -build-cache C:\Users\Thornax\AppData\Local\Temp\arduino_cache_754634 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Thornax\Desktop\ARDUINO\ActieveBuzzer\ActieveBuzzer.ino
Using board 'uno' from platform in folder: C:\Program
Using core 'arduino' from platform in folder: C:\Program
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/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=10810 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\Thornax\\AppData\\Local\\Temp\\arduino_build_686900\\sketch\\ActieveBuzzer.ino.cpp" -o nul
open NUL: The system cannot find the file specified.
Error compiling for board Arduino/Genuino Uno.

I selected the right port(see screenshot)
(mod edit)
1.png

Can someone help me out?

Greetings Thomas

1.png

1.8.10 does seem to have had some issues.
Recommended step is to roll back to 1.8.9 for those that have issues.

Bob.

I rolled back but that didn't help.
Thanks for the information though.

Greetings Thomas

Not always but in many cases file permissions issues can stem from over zealous antivirus or additional security.

Putting up some general troubleshooting steps in case one of them may strike a bell.

These steps may also save you some unnecessary time and effort in the forum.

  • Always provide as much detail as possible to your issue it may be important.

  • If applicable provide your SKETCH inside CODE TAGS ( </> ) or a CREATE share link.

  • If applicable provide a schematic even if hand drawn.

  • Pictures are an invaluable aid. See THIS TOPIC for help posting them.
    COMMON ISSUES

  • Check you have a COMMON GROUND where required.

  • Where possible use USB 2.0 ports or a USB 2.0 POWERED HUB to rule out USB 3.0 issues.

  • Try other computers where possible.

  • Try other USB leads where possible.

  • You may not have the correct driver installed. CH340/341 or CP2102

  • There may be a problem with the board check your wiring first.

  • Remove any items connected to pins 0 and 1.
    COMPUTER RELATED

  • Ensure you turn off any additional security / antivirus just to test.

  • There may be a problem with the PC try RESTARTING it.

  • You may be selecting the wrong COM port.

  • Avoid cloud/network based installations where possible OR ensure your Network/Cloud software is RUNNING.

  • Clear your browsers CACHE.

  • If using CREATE then try and INCOGNITO window or similar to rule out browser add-on's.

  • Close the IDE before using any other serial programs.

  • Preferably install IDE's as ADMINISTRATOR or your OS equivalent

  • If you have tried multiple IDE's then you may need to perform additional clean up.
    Performing the above actions may help resolve your problem without further help.

Bob.