File not getting uploaded on live site

If you’re using a dataset connected to the repeater via the editor you should do something like:

$w.onReady(function () {
$w("#dataset").onReady(() => {
$w("#repeater1").forEachItem(($item, itemData, index) => {
//the repeater scope code here. Do not use onItemReady() in this case.
})
})
})