Arduino start of compilation : open NUL: Impossible to find specified file

Try starting completely from the beginning by uninstalling the IDE: How to do a complete uninstall of the Arduino IDE . Then reinstalling the IDE.