fix(errors): Fixed issue with module errors not reporting the error if the property wasn't defined