Steps to reproduce the issue
In summary: Unless you have a current admin session (logged into admin) you cannot use the media manager on the frontend to select images in Template Settings or add images using CMS Content button in the WYSIWYG Editor when editing content.
To replicate MAKE SURE YOU ARE LOGGED OUT OF THE ADMIN CONSOLE !!!!!!
this should be a release blocker for sure.
Install with sample data - login as super admin to frontend
Click Template Settings
Click Select
Expected result
no console error message
Actual result
