How to fix the «Invalid template file» / «require_js.phtml» failure for 2.3 ≤ Magento < 2.4.5 in Windows?

Yes, I have already published the solution for Magento 2.2.x here: How to fix the «Invalid template file» / «require_js.phtml» failure of Magento 2.2.x in Windows?

1 Like