Demo store on netlify using commercejs

i cloned the demo online store that’s available on netlify and deployed it.
i’m getting this error in the console " TypeError: Cannot read properties of undefined (reading ‘map’) "
and i’m getting a message " Application error: a client-side exception has occurred (see the browser console for more information)." on the site itself .
this example uses next.js , commerce.js , jamstack
does anyone know what might be the problem ?

It seems like commerce js is a backend framework, which you cannot run on Netlify directly:

I found this tutorial though:

no it runs in the netlify provided public key from commercejs ,i think it’s a problem with the way commercejs account is setup …have to look into it