commerce
commerce copied to clipboard
Cache related errors when running commerce
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)
use Public access token on SHOPIFY_STOREFRONT_ACCESS_TOKEN not Private access token