You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I npm install @shopify/buy-button-js and import it in a https://github.com/zeit/next.js app I get this error during the react server side rendering:
ReferenceError: self is not defined
I'm not sure of a way to conditionally include the shopify button code. This is not an issue with shopify-buy though I'm not sure how to get ShopifyBuy.UI working with that (UI seems to be undefined).
The text was updated successfully, but these errors were encountered:
When I
npm install @shopify/buy-button-js
and import it in ahttps://github.com/zeit/next.js
app I get this error during the react server side rendering:I'm not sure of a way to conditionally include the shopify button code. This is not an issue with
shopify-buy
though I'm not sure how to getShopifyBuy.UI
working with that (UI seems to be undefined).The text was updated successfully, but these errors were encountered: