commerce icon indicating copy to clipboard operation
commerce copied to clipboard

Cache related errors when running commerce

Open cbcbbcbc opened this issue 8 months ago • 1 comments

I ran commerce according to the description of https://github.com/vercel/commerce?tab=readme-ov-file, but the following error appeared in the background when accessing it:

[Error: {cause: ..., status: 500, message: ..., query: ...}] { environmentName: 'Cache', digest: '1463595931' }

The errors displayed on the page:

Unhandled Runtime Error Cache Error: {cause: ..., status: 500, message: ..., query: ...}

app/layout.tsx (36:9) @ RootLayout

34 | <html lang="en" className={GeistSans.variable}> 35 | <body className="bg-neutral-50 text-black selection:bg-teal-300 dark:bg-neutral-900 dark:text-white dark:selection:bg-pink-500 dark:selection:text-white">

36 | <CartProvider cartPromise={cart}> 37 | <Navbar /> 38 |

39 | {children}

Exception stack: resolveErrorDev node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js (2110:46) processFullStringRow node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js (2678:17) processFullBinaryRow node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js (2666:7) progress node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js (2918:17) resolveErrorDev node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js (1886:46) processFullStringRow node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js (2454:17) processFullBinaryRow node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js (2442:7) progress node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js (2689:17)

cbcbbcbc avatar Apr 02 '25 08:04 cbcbbcbc

use Public access token on SHOPIFY_STOREFRONT_ACCESS_TOKEN not Private access token

mitesh9991 avatar Apr 05 '25 09:04 mitesh9991