Ecommerce Shopify WordPress Discussion

Why am I now getting a Shopify Storefront uncaught at getProductsInCollection error?

I have a next.js Shopify website hosted on vercel that has been building for the last couple of years. a Few days ago we tried to update the content on it and the build started to fail. Error: Node.js version 14.x has reached End-of-Life. Deployments created on or after 2023-08-15 will fail to build. Please set Node.js Version to 18.x in your Project Settings to use Node.js 18. Error occurred prerendering page "/shop". Read more: TypeError: Cannot read property 'collectionByHandle' of undefined at getProductsInCollection (/vercel/path0/.next/server/chunks/542.js:217:39) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async getStaticProps (/vercel/path0/.next/server/pages/shop.js:250:22) at async renderToHTML (/vercel/path0/node_modules/next/dist/server/render.js:386:20) at async /vercel/path0/node_modules/next/dist/export/worker.js:304:36 at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:79:20) We've updated to Node 18.x but it no longer builds locally or on vercel all the errors seem to point to an issue with the shop. What has happened and how do I go about fixing the issue?
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.