Errors when building App - NextJs/Javascript

Viewed 11

To start, I am using NextJs.

I am not sure why I am getting this build error or even how to track down where the error is besides the page its on. While building the linting said there was no errors but in the process of building my app I get the below message. Can anyone let me know how you would go about tracking down where this problem is and then rectifying it? Also, any useful tools to use? I am use to working on Dev where I would get the error on page load or in the console or when linting (after running npm next build having the linter tell me where the warnings and errors are).

 Build error occurred

Error: Export encountered errors on following paths:
        /SSR
    at C:\Users\Secondone\Desktop\nodework\built in mods\nextjs-hulu-tailwind\node_modules\next\dist\export\index.js:395:19
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Span.traceAsyncFn (C:\Users\Secondone\Desktop\nodework\built in mods\nextjs-hulu-tailwind\node_modules\next\dist\trace\trace.js:79:20)
    at async C:\Users\Secondone\Desktop\nodework\built in mods\nextjs-hulu-tailwind\node_modules\next\dist\build\index.js:1094:21
    at async Span.traceAsyncFn (C:\Users\Secondone\Desktop\nodework\built in mods\nextjs-hulu-tailwind\node_modules\next\dist\trace\trace.js:79:20)
    at async C:\Users\Secondone\Desktop\nodework\built in mods\nextjs-hulu-tailwind\node_modules\next\dist\build\index.js:971:17
    at async Span.traceAsyncFn (C:\Users\Secondone\Desktop\nodework\built in mods\nextjs-hulu-tailwind\node_modules\next\dist\trace\trace.js:79:20)
    at async Object.build [as default] (C:\Users\Secondone\Desktop\nodework\built in mods\nextjs-hulu-tailwind\node_modules\next\dist\build\index.js:64:29)
PS C:\Users\Secondone\Desktop\nodework\built in mods\nextjs-hulu-tailwind>  
0 Answers
Related