In developer mode, XML validation fails on etc/frontend/routes.xml because it contains an empty body:
1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): The XML in file "/vagrant/magento/vendor/bitpay/module-bpcheckout/etc/frontend/routes.xml" is invalid:
Element 'config': Missing child element(s). Expected is ( router ).
Line: 2
Verify the XML and try again.
Steps to Reproduce
Install the module
Enable developer mode
Ensure config cache has been flushed
Attempt to navigate to the frontend
Observe exception
Because there are no actual controllers used on the frontend, this configuration file and be removed, and that will resolve the error.
In developer mode, XML validation fails on
etc/frontend/routes.xml
because it contains an empty body:Steps to Reproduce
Because there are no actual controllers used on the frontend, this configuration file and be removed, and that will resolve the error.