Unreal keeps crashing at startup, error: cache path longer than 119 characters - how do i fix?

Got the same thing but with UE5 and i can’t find a solution for that.
please can someone help.
thanks