vercel / commerce

Next.js Commerce
https://demo.vercel.store
MIT License
10.54k stars 3.88k forks source link

build erros #1329

Closed SergGrey1992 closed 2 months ago

SergGrey1992 commented 2 months ago

Good afternoon!

Encountered this problem when building your template =( build_error.pdf

I realized that TS doesn't understand the type of request graphql

my dependencies are exactly the same as in your repository

Can you tell me how I can fix this?

because these errors prevent me from deploying my tutorial application.

thank you for your help and future replies ))

manovotny commented 2 months ago

@SergGrey1992 notice all the UNAUTHORIZED messages in the GraphQL queries? That likely means your environment variables are missing or incorrect.