I’m getting an error while building my Next.js app. I used Next.js and Sanity to create my portfolio
I am currently facing an issue while trying to finalize the build of my portfolio. Specifically, I am working on creating a production build to host my portfolio online. However, I keep encountering an error that is preventing me from completing this process. Below is the screenshot of the error message displayed in the terminal:
Issue in Next.js build manifest.js file
I am getting this error in _buildManifest.js file. I am not sure how to resolve it. I understand the error that it is saying that the file should contain type of Record<string, string[]>, but it contains an object of __rewrites type. If anybody can tell me what can I configure to resolve this issue?