Uncaught TypeErrors have me baffled This is my first Drupal 8 site but I have been building Drupal sites since Drupal 6. I am getting lots of Uncaught TypeErrors in the JavaScript console that I can't figure out. I have spend hours searching and have not found an answer. What am I missing?


  


I am developing a custom theme. The site is on Mamp. Any insight would be helpful.
It seems like all js variables are missing, that are in:

&lt;script type="application/json" data-drupal-selector="drupal-settings-json"&gt;{...}&lt;/script&gt;


This json array is on every page drupal delivers. You can check this on a fresh drupal install.

There can be a problem with your theme, probably with the html template.