Infinite update loop and alerts when publishing or updating from a DS file

I get a weird scenario when trying to publish or update components within a DS file in figma. This action repeats endlessly saying “published successfully” but the publish option gets back to active again no matter how many times I try to do that