Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
We are working with Builder.io and have just downloaded the Next.js Shopify GitHub package from here: https://github.com/BuilderIO/nextjs-shopify. We have followed all the instructions carefully.
However, I'd like to mention that we are encountering an unknown error message. The error indicates issues related to handling an object, specifically an "Object" dealing with the collection and the product.
Unfortunately, the error message doesn't provide details on the file where the issues begin. If anyone has experience working with Shopify and Builder.io, especially in the context of Shopify Headless Theme building, your assistance would be greatly appreciated. Issues with generating collections and product pages.
⨯ Error: [object Object]
at getProperError (/Users/brandonpowell/Desktop/nextjs-shopify/node_modules/next/dist/lib/is-error.js:41:12)
at DevServer.renderToResponseImpl (/Users/brandonpowell/Desktop/nextjs-shopify/node_modules/next/dist/server/base-server.js:1903:53)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async DevServer.pipeImpl (/Users/brandonpowell/Desktop/nextjs-shopify/node_modules/next/dist/server/base-server.js:909:25)
at async NextNodeServer.handleCatchallRenderRequest (/Users/brandonpowell/Desktop/nextjs-shopify/node_modules/next/dist/server/next-server.js:266:17)
at async DevServer.handleRequestImpl (/Users/brandonpowell/Desktop/nextjs-shopify/node_modules/next/dist/server/base-server.js:805:17) {
page: '/collection/hydrogen'
⨯ Error: [object Object] at getProperError (/Users/brandonpowell/Desktop/nextjs-shopify/node_modules/next/dist/lib/is-error.js:41:12) at DevServer.renderToResponseImpl (/Users/brandonpowell/Desktop/nextjs-shopify/node_modules/next/dist/server/base-server.js:1903:53) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async DevServer.pipeImpl (/Users/brandonpowell/Desktop/nextjs-shopify/node_modules/next/dist/server/base-server.js:909:25) at async NextNodeServer.handleCatchallRenderRequest (/Users/brandonpowell/Desktop/nextjs-shopify/node_modules/next/dist/server/next-server.js:266:17) at async DevServer.handleRequestImpl (/Users/brandonpowell/Desktop/nextjs-shopify/node_modules/next/dist/server/base-server.js:805:17) { page: '/product/the-3p-fulfilled-snowboard' }