Zend certified PHP/Magento developer

Component sometimes not loading – “Failed to load the “Vendor_ModuleName/js/view/minitest” component in Magento 2

We are launching a Magento 2.4.2 site, and finding that the site will sometimes load all of its Javascript components and dependencies properly, but sometimes fails to load on the custom component. In which case a knockout template is not displayed and the console log shows an error message such as “[ERROR] Failed to load the "Vendor_ModuleName/js/view/minitest" component.“.
If you reload the page, this error may disappear.

This custom component has very similar functionality to the minicart.

My files:

default.xml

    <block class="VendorModuleNameBlockTestSidebar" name="minitest" after="minitest" template="test/minitest.phtml">
                <arguments>
                    <argument name="jsLayout" xsi:type="array">
                        <item name="types" xsi:type="array"/>
                        <item name="components" xsi:type="array">
                            <item name="miniquote_content" xsi:type="array">
                                <item name="component" xsi:type="string">Vendor_ModuleName/js/view/minitest</item>
                        ...
                 </arguments>
     </block>

minitest.phtml

.....
<script type="text/x-magento-init">
        {
            "[data-block='minitest']": {
                "Magento_Ui/js/core/app": <?php echo $block->getJsLayout(); ?>
            },
            "*": {
                "Magento_Ui/js/block-loader": "<?php echo $block->escapeHtml($block->getViewFileUrl('images/loader-1.gif')); ?>"
            }
        }
 </script>