Creality Cr-10 Marlin error

So I was trying to update my 3d printer and I followed a guide on youtube,

and after following these steps at the point where I upload the code to the board I keep getting an error message “Error compiling for board Sanguino”

Arduino: 1.8.13 (Windows Store 1.8.39.0) (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"

avr-gcc: error: CreateProcess: No such file or directory

exit status 1

Error compiling for board Sanguino.

Invalid library found in C:\Users\eatfi\OneDrive\Documents\Arduino\libraries\lazer_on_g8: no headers files (.h) found in C:\Users\eatfi\OneDrive\Documents\Arduino\libraries\lazer_on_g8



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

and it won’t upload what do I do to fix it?

Is that the entire error message ?

Are there any files in the lazer_on_g8 folder ?
Where did it come from ?

yes that is the whole message

there is an INO file in the lazer_on_g8 folder

It came from the error console at the bottom of the IDE

My fault for not being clear but I meant where did the lazer_on_g8 folder (and the file in it) come from ?

it is an irrelevant library for a misc. project

fish118676:
it is an irrelevant library for a misc. project

Temporarily move the folder elsewhere such as the desktop

I just outright deleted the folder but I am still getting an error.

Do you think that it would help if you posted it ?

I am confused about what you are asking.

fish118676:
I am confused about what you are asking.

fish118676:
I just outright deleted the folder but I am still getting an error.

UKHeliBob:
Do you think that it would help if you posted it ?

We currently have no idea what error you are getting

A quick search with Google shows that the problem is caused when a command line overflows a buffer and gets truncated. See a possible work-around in the bug report: