I have an issue where the swatch-renderer doesn't work anymore on a configurable product with base price in Magento 2.2.6
The JS console throws an "Cannot read property 'element' of undefined" error when I loading the page. The interesting thing is that sometimes the page is loaded correctly.
I suspect a timing problem, but unfortunately I can't narrow down the error.
As you can see from the screenshot, the script assumes that it is not a swatchWidget. But this is wrong. It is a swatchWidget
