Fix the yarn:duplicates task