shreyas707
shreyas707
Upon further inspection, the value for `consent.checkoutDomain` is set through the env variable `PUBLIC_CHECKOUT_DOMAIN` (line 75 of root.jsx and line 22 of entry.server.jsx) But this `PUBLIC_CHECKOUT_DOMAIN` env is actually not...
Update: Same issue after deploying to Oxygen. I tried adding `PUBLIC_CHECKOUT_DOMAIN` env in Hydrogen App's Storefront Settings manually and deploying again, but still getting `500 Invariant Failed` error
Update 2: Found the issue. In `package.json`, the shopify cli version is set exactly to `3.60.0`. Seems like this version of cli is not setting `PUBLIC_CHECKOUT_DOMAIN` env. I changed it...