Script Loading Failure in Next.js Development Environment This issue title captures the core technical problem of script loading failures in a Next.js local development setup, highlighting the key symptoms of JavaScript chunk loading errors and potential

Resolved 💬 2 comments Opened Jun 17, 2025 by myronlabs Closed Jun 18, 2025

Bug Description
Loading failed for the <script> with source “http://localhost:3000/_next/static/chunks/main-app.js?v=1750191981226”. contacts:1:557
Loading failed for the <script> with source “http://localhost:3000/_next/static/chunks/app/(dashboard)/layout.js”. contacts:1:798
Loading failed for the <script> with source “http://localhost:3000/_next/static/chunks/app-pages-internals.js”. contacts:1:633
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. node.js:417:1
GET
http://localhost:3000/favicon.ico
[HTTP/1.1 404 Not Found 0ms]

  • Actioning… (0s · ↑ 0 tokens · esc to interrupt)

I have had claude MANYH times hide his progressive logging from me! I have seen up to 6000 tokens go by without a single other log shown and i have to force reset him and complain hard to him to get him to show them

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 1.0.25
  • Feedback ID: 4af6d8a4-b06d-4cf7-ac72-afca81f2801b

Errors

[{"error":"Error: Error parsing line in /home/jman/.claude/projects/-home-jman-tmp-Myron-Labs-kai-1-0/41cdb341-3466-4073-a0a8-1c8044d122a7.jsonl: SyntaxError: Unexpected token '\^@', \"\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\"... is not valid JSON\n    at file:///home/jman/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:574:80\n    at Array.map (<anonymous>)\n    at hfA (file:///home/jman/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:574:26)\n    at async file:///home/jman/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:583:1152\n    at async Promise.all (index 33)\n    at async f30.<anonymous> (file:///home/jman/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:583:890)","timestamp":"2025-06-17T20:24:07.194Z"},{"error":"Error: Request was aborted.\n    at lo._createMessage (file:///home/jman/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1306:6810)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-17T20:26:39.765Z"},{"error":"Error: Request was aborted.\n    at lo._createMessage (file:///home/jman/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1306:6810)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-17T20:27:23.559Z"},{"error":"Error: Request was aborted.\n    at Sw.makeRequest (file:///home/jman/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1315:3784)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-17T20:27:28.848Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗