Everything works locally, but I’m having build failures. For some reason it appears it can’t resolve the following path. The Netlify site is: Netlify App
Error: Export encountered errors on following paths:
6:32:22 PM: /posts/[slug]
6:32:22 PM: at /opt/build/repo/node_modules/next/dist/export/index.js:397:19
6:32:22 PM: at runMicrotasks (<anonymous>)
6:32:22 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
6:32:22 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
6:32:22 PM: at async /opt/build/repo/node_modules/next/dist/build/index.js:999:17
6:32:22 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
6:32:22 PM: at async /opt/build/repo/node_modules/next/dist/build/index.js:875:13
6:32:22 PM: at async Span.traceAsyncFn (/opt/build/repo/node_modules/next/dist/trace/trace.js:79:20)
6:32:22 PM: at async Object.build [as default] (/opt/build/repo/node_modules/next/dist/build/index.js:55:25)