Arduino Compiles but Doesn't upload sketch

I was working on a project for hours and everything was working fine. Suddenly, the sketch would compile but not upload to the board. I tried the basic blinking example sketch but it still doesn’t upload. I am using the Nano 33 BLE and I have the library installed. I have the correct board and port selected, but still nothing. I have uninstalled the IDE and reinstalled multiple times and have restarted my computer and still it doesn’t upload. I am using IDE 1.8.13 and Windows 10. The code I get when the upload fails is below. Cannot run program "___REMOVE___/bossac.exe": CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessBuilder.start(
	at cc.arduino.packages.Uploader.executeUploadCommand(
	at cc.arduino.packages.uploaders.SerialUploader.runCommand(
	at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(
	at cc.arduino.UploaderUtils.upload(
Caused by: CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessImpl.create(Native Method)
	at java.lang.ProcessImpl.<init>(
	at java.lang.ProcessImpl.start(
	at java.lang.ProcessBuilder.start(
	... 9 more
An error occurred while uploading the sketch

Hi @gabv214. Please try this fix from the Arduino Help Center:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.