nuxt-shopify
nuxt-shopify copied to clipboard
Cannot stringify arbitrary non-POJOs GraphModel Warning
Keep getting Cannot stringify arbitrary non-POJOs GraphModel warning
In store/index.js
async nuxtServerInit({commit, dispatch}, context) {
if (process.server) {
try{
const products = await context.app.$shopify.product.fetchAll();
commit('products/setProducts', products)
}catch (e) {
console.log('products err: ',e)
}
}
}
I get same error in asyncData.
Is there something I am missing?
Correct, Nuxt uses devalue to stringify Shopify's GraphModel and it's failing.
Howdy I am open to taking a stab at this as I am also having this issue on a side project I am working on. The plan is to leverage nuxt-shopify and vuetify to provide an open source store front that can be hosted on github/lab pages so folks only have to pay for the storefront api access.
Anyhow, I will start on this asap
I also encountered the same problem and hope to fix it soon. Thank you
+1
Interested in a fix as well, following this issue!
i am also having this problem
@Gomah it looks like another project resolved this already; I'm guessing you could do something similar. Here's the link for their PR
Any updates on this? Thank you!
+1
I have the same, I hope they can solve it soon, thank you very much
+1
Yep, I am still experiencing the same issue
Howdy I am open to taking a stab at this as I am also having this issue on a side project I am working on. The plan is to leverage nuxt-shopify and vuetify to provide an open source store front that can be hosted on github/lab pages so folks only have to pay for the storefront api access.
Anyhow, I will start on this asap
Were you able to come up with a fix?
Any update on this? Starting a new site and was looking to use this package
Any news?
Having this problem too. Using nuxt3 with useAsyncData.