In Magento 2.2.2 when setting website into production mode the following files are not loading, due to which my store switcher and other ui functions are not working in production mode:
All the CSS and Fonts are loading properly in both production as well as developer mode.
Important: I was not able to find these js files in developer mode when checked the network tab of inspector.
Can someone tell me where to look for errors?
I have checked and found that these js file errors are only found in default (pt_BR) Store. When I have checked it for other store(en_US) there were no errors and everything is working fine in this store.
When I have tried
php bin/magento setup:static-content:deploy en_US pt_BR then these js file error occurred in both the stores.
P.S: There is nothing helpful in var logs.