Closed enterpriseSoftware closed 5 months ago
@enterpriseSoftware your error states that the projectId
is missing, which implies you did not set up env
variables when deploying to Vercel.
Please look at this issue comment for more context: https://github.com/ndimatteo/HULL/issues/119#issuecomment-1452322590
Tried deploying from Vercel interface got this error. I thought I saw where this was a bug a year ago and it was commented it wouldn't be fixed? Please tell me which Vercel Next.js with shopify integration works.
Deployed from here. https://vercel.com/new/templates/next.js/hull-sanity-shopify
error - Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error 10:12:42.113 | 10:12:42.114 | > Build error occurred 10:12:42.115 | Error: Configuration must contain `projectId` 10:12:42.115 | at exports.initConfig (/vercel/path0/node_modules/@sanity/client/lib/config.js:42:11) 10:12:42.115 | at SanityClient.config (/vercel/path0/node_modules/@sanity/client/lib/sanityClient.js:89:25) 10:12:42.115 | at new SanityClient (/vercel/path0/node_modules/@sanity/client/lib/sanityClient.js:53:8) 10:12:42.115 | at SanityClient (/vercel/path0/node_modules/@sanity/client/lib/sanityClient.js:50:12) 10:12:42.115 | at Object.