部署Next.js项目到Vercel上，报错如下[10:05:29.736] Running build in Washington, D.C., USA (East) – iad1
[10:05:29.969] Cloning github.com/zmq27230/next-js-test (Branch: main, Commit: ca3e753)
[10:05:30.317] Previous build cache not available
[10:05:34.293] Cloning completed: 4.324s
[10:05:38.335] Running "vercel build"
[10:05:38.802] Vercel CLI 33.0.1
[10:05:39.145] Warning: Detected "engines": { "node": ">=18.17.0" } in your `package.json` that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
[10:05:39.159] Installing dependencies...
[10:05:52.045] 
[10:05:52.046] added 2 packages in 12s
[10:05:52.047] 
[10:05:52.047] 172 packages are looking for funding
[10:05:52.047]   run `npm fund` for details
[10:05:52.059] Detected Next.js version: 14.0.1
[10:05:52.063] Detected `package-lock.json` generated by npm 7+
[10:05:52.063] Running "npm run build"
[10:05:52.716] 
[10:05:52.717] > build
[10:05:52.717] > next build
[10:05:52.717] 
[10:05:53.509] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[10:05:53.510] This information is used to shape Next.js' roadmap and prioritize features.
[10:05:53.510] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[10:05:53.510] https://nextjs.org/telemetry
[10:05:53.510] 
[10:05:53.613]    ▲ Next.js 14.0.4
[10:05:53.613] 
[10:05:53.614]    Creating an optimized production build ...
[10:06:03.398]  ✓ Compiled successfully
[10:06:03.399]    Linting and checking validity of types ...
[10:06:09.678]    Collecting page data ...
[10:06:10.835]    Generating static pages (0/7) ...
[10:06:10.890] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:10.891]     at exports.useContext (/vercel/path0/node_modules/react/cjs/react.production.min.js:24:118)
[10:06:10.891]     at p (/vercel/path0/.next/server/pages/_error.js:1:6058)
[10:06:10.891]     at Wc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
[10:06:10.892]     at Zc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
[10:06:10.892]     at Z (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
[10:06:10.892]     at $c (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
[10:06:10.892]     at bd (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
[10:06:10.892]     at Z (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
[10:06:10.893]     at $c (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
[10:06:10.893]     at Zc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:145)
[10:06:10.893] 
[10:06:10.893] Error occurred prerendering page "/404". Read more: https://nextjs.org/docs/messages/prerender-error
[10:06:10.893] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:10.894]     at exports.useContext (/vercel/path0/node_modules/react/cjs/react.production.min.js:24:118)
[10:06:10.894]     at p (/vercel/path0/.next/server/pages/_error.js:1:6058)
[10:06:10.894]     at Wc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
[10:06:10.894]     at Zc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
[10:06:10.894]     at Z (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
[10:06:10.895]     at $c (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
[10:06:10.895]     at bd (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
[10:06:10.895]     at Z (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
[10:06:10.895]     at $c (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
[10:06:10.895]     at Zc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:145)
[10:06:10.896] 
   Generating static pages (1/7) 
[10:06:10.902] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:10.902]     at exports.useContext (/vercel/path0/node_modules/react/cjs/react.production.min.js:24:118)
[10:06:10.903]     at p (/vercel/path0/.next/server/pages/_error.js:1:6058)
[10:06:10.903]     at Wc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
[10:06:10.903]     at Zc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
[10:06:10.903]     at Z (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
[10:06:10.904]     at $c (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
[10:06:10.904]     at bd (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
[10:06:10.904]     at Z (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
[10:06:10.904]     at $c (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
[10:06:10.904]     at Zc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:145)
[10:06:10.905] 
[10:06:10.905] Error occurred prerendering page "/500". Read more: https://nextjs.org/docs/messages/prerender-error
[10:06:10.905] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:10.905]     at exports.useContext (/vercel/path0/node_modules/react/cjs/react.production.min.js:24:118)
[10:06:10.905]     at p (/vercel/path0/.next/server/pages/_error.js:1:6058)
[10:06:10.905]     at Wc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
[10:06:10.906]     at Zc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
[10:06:10.908]     at Z (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
[10:06:10.909]     at $c (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
[10:06:10.915]     at bd (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
[10:06:10.915]     at Z (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
[10:06:10.915]     at $c (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
[10:06:10.915]     at Zc (/usr/local/share/.config/yarn/global/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:71:145)
[10:06:11.303] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.304]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.304]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.304]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.304]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.305]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.305]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.305]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.305]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.305]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.305]     at nj (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64628)
[10:06:11.305] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.306]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.306]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.306]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.306]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.306]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.306]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.306]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.306]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.306]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.306]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62167)
[10:06:11.306] 
[10:06:11.306] Error occurred prerendering page "/_not-found". Read more: https://nextjs.org/docs/messages/prerender-error
[10:06:11.306] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.306]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.306]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.306]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.306]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.306]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.306]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.306]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.306]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.306]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.306]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62167)
[10:06:11.307] 
   Generating static pages (3/7) 
[10:06:11.374] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.375]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.376]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.376]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.376]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.376]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.379]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.379]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.379]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.379]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.379]     at nj (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64628)
[10:06:11.379] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.380]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.380]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.380]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.380]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.380]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.380]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.383]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.383]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.383]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.383]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62167)
[10:06:11.383] 
[10:06:11.384] Error occurred prerendering page "/dashboard/customers". Read more: https://nextjs.org/docs/messages/prerender-error
[10:06:11.384] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.384]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.384]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.384]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.384]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.385]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.385]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.385]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.385]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.385]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.385]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62167)
[10:06:11.496] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.496]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.496]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.497]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.497]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.497]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.497]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.497]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.498]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.498]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.498]     at nj (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64628)
[10:06:11.498] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.498]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.499]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.499]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.499]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.499]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.499]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.500]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.500]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.500]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.500]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62167)
[10:06:11.500] 
[10:06:11.500] Error occurred prerendering page "/dashboard/invoices". Read more: https://nextjs.org/docs/messages/prerender-error
[10:06:11.501] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.501]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.501]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.501]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.501]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.502]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.502]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.502]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.502]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.502]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.503]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62167)
[10:06:11.503] 
   Generating static pages (5/7) 
[10:06:11.515] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.515]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.516]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.516]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.516]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.516]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.516]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.516]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.516]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.517]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.517]     at nj (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64628)
[10:06:11.529] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.529]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.529]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.529]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.530]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.530]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.530]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.530]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.530]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.530]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.530]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62167)
[10:06:11.530] 
[10:06:11.530] Error occurred prerendering page "/dashboard". Read more: https://nextjs.org/docs/messages/prerender-error
[10:06:11.530] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.530]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.531]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.531]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.531]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.531]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.531]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.531]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.531]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.531]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.531]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62167)
[10:06:11.575] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.576]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.576]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.576]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.576]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.576]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.576]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.576]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.576]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.576]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.577]     at nj (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:64628)
[10:06:11.577] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.577]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.577]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.577]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.577]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.577]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.577]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.577]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.577]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.577]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.577]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62167)
[10:06:11.578] 
[10:06:11.578] Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
[10:06:11.578] TypeError: Cannot read properties of null (reading 'useContext')
[10:06:11.578]     at t.useContext (/vercel/path0/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:60:6302)
[10:06:11.578]     at _ (/vercel/path0/.next/server/chunks/524.js:1:20743)
[10:06:11.578]     at c (/vercel/path0/.next/server/chunks/524.js:1:12180)
[10:06:11.578]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45321)
[10:06:11.578]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.578]     at nE (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:44877)
[10:06:11.578]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:45472)
[10:06:11.578]     at nP (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:59120)
[10:06:11.578]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:61978)
[10:06:11.579]     at n$ (/usr/local/share/.config/yarn/global/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:62167)
[10:06:11.579] 
 ✓ Generating static pages (7/7) 
[10:06:11.582] 
[10:06:11.582] > Export encountered errors on following paths:
[10:06:11.582] 	/_error: /404
[10:06:11.582] 	/_error: /500
[10:06:11.582] 	/_not-found
[10:06:11.582] 	/dashboard/customers/page: /dashboard/customers
[10:06:11.582] 	/dashboard/invoices/page: /dashboard/invoices
[10:06:11.582] 	/dashboard/page: /dashboard
[10:06:11.583] 	/page: /
[10:06:11.635] Error: Command "npm run build" exited with 1
[10:06:11.946]