title: Fixed and free shipping not working magento 2
body: <p>I have a weird problem that I do not know how to solve.</p>
  <p>On tutorials and documentation is explained very simple. So the set-up for the Free Shipping and Fixed Shipping has been made. But on Front-End I keep getting an error like method_code and carrier_code for shipment are null by value.</p>
  <p>Settings for Flat Rate Shipping:
  <a href="https://i.stack.imgur.com/UxZar.png" rel="nofollow noreferrer">Flat Rate</a></p>
  <p>Settings for Free Shipping:
  <a href="https://i.stack.imgur.com/PZBYC.png" rel="nofollow noreferrer">Free Shipping</a></p>
  <p>The error comes from default.js located in: app/code/Magento/Checkout/view/frontend/web/js/model/cart/totals-processor/default.js.</p>
  <p>This error happens in console only on the /checkout/cart URL, but on the /checkout page not a single error.</p>
  <p>The magento version is 2.2.0 from github Magento.</p>
  <p>Any clue why this is happening?
  The details about the store are already filled correctly.</p>