getcandy / hub

GetCandy v1 Hub built on Nuxt.js
30 stars 9 forks source link

Pagination of products errors #9

Closed Repox closed 4 years ago

Repox commented 4 years ago

When accessing the products page and pagination is required, I get the following error in the console:

webpack-internal:///./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./.nuxt/getcandyhub/components/hub/SearchTable.vue?vue&type=script&lang=js&:132 Uncaught (in promise) TypeError: Cannot read property 'pagination' of undefined
    at eval (webpack-internal:///./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./.nuxt/getcandyhub/components/hub/SearchTable.vue?vue&type=script&lang=js&:132)
alecritson commented 4 years ago

Are you able to screenshot what comes back from the API?

alecritson commented 4 years ago

@Repox Figured it out, can you upgrade the modules to 0.9.10 or specifically the hub-core package.

npm update @getcandy/hub-core should do it.

Repox commented 4 years ago

Confirmed solved.