{"record":{"id":"a7acd3b5e2bb5d4f","repo":"vercel/next.js","slug":"there-were-more-warnings-in-other-files-you-can-f-a7acd3","errorCode":null,"errorMessage":"There were more warnings in other files.\nYou can find a complete log in the terminal.","messagePattern":"There were more warnings in other files\\.\nYou can find a complete log in the terminal\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/next/src/client/dev/hot-reloader/app/hot-reloader-app.tsx","lineNumber":360,"sourceCode":"      const hasWarnings = Boolean(warnings && warnings.length)\n      if (hasWarnings) {\n        sendMessage(\n          JSON.stringify({\n            event: 'client-warning',\n            warningCount: warnings.length,\n            clientId: __nextDevClientId,\n          })\n        )\n\n        // Print warnings to the console.\n        const formattedMessages = formatWebpackMessages({\n          warnings: warnings,\n          errors: [],\n        })\n\n        for (let i = 0; i < formattedMessages.warnings.length; i++) {\n          if (i === 5) {\n            console.warn(\n              'There were more warnings in other files.\\n' +\n                'You can find a complete log in the terminal.'\n            )\n            break\n          }\n          console.warn(stripAnsi(formattedMessages.warnings[i]))\n        }\n\n        // No early return here as we need to apply modules in the same way between warnings only and compiles without warnings\n      }\n\n      sendMessage(\n        JSON.stringify({\n          event: 'client-success',\n          clientId: __nextDevClientId,\n        })\n      )\n","sourceCodeStart":342,"sourceCodeEnd":378,"githubUrl":"https://github.com/vercel/next.js/blob/258b1c1bc05f7099816b88f70b7b3422b24a4b8d/packages/next/src/client/dev/hot-reloader/app/hot-reloader-app.tsx#L342-L378","documentation":"Browser-side console.warn in the app-router hot reloader's message processing: webpack compilation warnings are formatted and only the first five are printed to the browser console. When more exist, this truncation notice is emitted instead of the rest, pointing the developer to the terminal where the dev server logged the complete list.","triggerScenarios":"Thrown at packages/next/src/client/dev/hot-reloader/app/hot-reloader-app.tsx:360 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the terminal output for the full warning log and address each reported file."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"258b1c1bc05f7099816b88f70b7b3422b24a4b8d","analyzedAt":"2026-08-19T02:10:13.922Z","contentChangedAt":"2026-08-19T02:10:13.922Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}