SyntaxFix
Write A Post
Hire A Developer
Questions
For me, that happened because I had an empty component in my page -
<script type="text/x-magento-init"> { ".page.messages": { "Magento_Ui/js/core/app": [] } }
Deleting this piece of code resolved the issue.