I’ve had similar issues but they were quickly resolved by Git, I’d recommend you try using it, its fairly straightforward to use and is a life saver in times like this.
I use OneDrive and cant stand what it does to my Windows file system, I wish there was a better way to do that.
I make sure all my Wappler folders are in a local folder and nowhere near OneDrive.