main.js:37 TypeError: Cannot read property 'quoteData' of undefined
at quote.js:33
This error is appearing in the browser console and is happening on several pages. Mainly on the registration page. The error is preventing masks from being applied to fields.
What i tried:
Based on this question, I tried to add “domReady!” in the define section, but it didn’t work.
I also tried to add $(document).ready(function() into the file, although it fixed, several other errors started appearing in Checkout, from other files that depend on quote.js.