I had exactly the same issue. I set a JS breakpoint in the line, which threw the error and looked at the attributes variable. There were multiple old attributes, which were migrated from M1. They lead to these issues. I simply deleted those old attributes in the database (table eav_attribute) and the error was gone.
The problem might be caused due to the incorrect value or no value available for the isExcludingDisplayed() and haveToShowCoupon() functions.
These two functions are available in shipping.js file
isExcludingDisplayed : module-tax/view/frontend/web/js/view/checkout/summary/shipping.js
haveToShowCoupon : module-checkout/view/frontend/web/js/view/summary/...