Hi Filipe,
This error is mostly caused by OneDrive. Make sure your project is in a different folder than one that is being synced. It could also be fixed by pressing App > Clean deployment directory. Below some sources.
https://forum.mendix.com/link/space/studio-pro/questions/115458