[Bug] Powershell on Windows 11 inserting extra lines in CLI output

Resolved 💬 3 comments Opened Jan 26, 2026 by HughMacdonald Closed Jan 30, 2026

Bug Description
Since updating Claude Code (I recently got a notification to run "claude update"), I've been finding that it's doing weird things with additional lines. I'm using Powershell on Windows 11.
I'm currently using Claude Code v2.1.19. I'm going to attach a screenshot showing what it looks like to this issue once it has been created.
For this example, I started Claude code from the command-line, and then ran "/feedback" straight away.

This is running in a Powershell terminal inside JetBrains Rider. I also get the same thing if I run it in Windows Terminal, inside Powershell.

I've also got it set up to be able to run inside WSL, and when I run it there, it looks fine.

<img width="1998" height="1090" alt="Image" src="https://github.com/user-attachments/assets/13641274-212e-4985-898b-26c3628265cc" />

Environment Info

  • Platform: win32
  • Terminal: pycharm
  • Version: 2.1.19
  • Feedback ID: 044d055d-1bf2-4376-88cc-1db3d526aefd

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir 'C:\\ProgramData\\ClaudeCode\\.claude\\skills'\n    at readdirSync (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:12:1903)\n    at cX (B:/~BUN/root/claude.exe:11:35427)\n    at readdirSync (B:/~BUN/root/claude.exe:12:1864)\n    at VJ$ (B:/~BUN/root/claude.exe:2213:380)\n    at VJ$ (B:/~BUN/root/claude.exe:2213:1350)\n    at <anonymous> (B:/~BUN/root/claude.exe:2213:4440)\n    at <anonymous> (B:/~BUN/root/claude.exe:2213:5171)\n    at A (B:/~BUN/root/claude.exe:11:7251)\n    at CTE (B:/~BUN/root/claude.exe:4860:4342)","timestamp":"2026-01-26T22:17:57.223Z"},{"error":"Error: ENOENT: no such file or directory, scandir 'C:\\Users\\Hugh Macdonald\\.claude\\skills'\n    at readdirSync (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:12:1903)\n    at cX (B:/~BUN/root/claude.exe:11:35427)\n    at readdirSync (B:/~BUN/root/claude.exe:12:1864)\n    at VJ$ (B:/~BUN/root/claude.exe:2213:380)\n    at VJ$ (B:/~BUN/root/claude.exe:2213:1350)\n    at <anonymous> (B:/~BUN/root/claude.exe:2213:4483)\n    at <anonymous> (B:/~BUN/root/claude.exe:2213:5171)\n    at A (B:/~BUN/root/claude.exe:11:7251)\n    at CTE (B:/~BUN/root/claude.exe:4860:4342)","timestamp":"2026-01-26T22:17:57.223Z"},{"error":"Error: Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file C:\\Users\\Hugh Macdonald\\.claude\\plugins\\cache\\claude-code-lsps\\clangd\\1.0.0\\hooks\\hooks.json. The standard hooks/hooks.json is loaded automatically, so manifest.hooks should only reference additional hook files.\n    at bxI (B:/~BUN/root/claude.exe:3522:4419)\n    at qWE (B:/~BUN/root/claude.exe:3522:7621)\n    at async zWE (B:/~BUN/root/claude.exe:3522:5865)\n    at async <anonymous> (B:/~BUN/root/claude.exe:3522:14921)\n    at async n4H (B:/~BUN/root/claude.exe:1655:27319)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-26T22:17:57.239Z"},{"error":"Error: Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file C:\\Users\\Hugh Macdonald\\.claude\\plugins\\cache\\claude-code-lsps\\omnisharp\\1.0.0\\hooks\\hooks.json. The standard hooks/hooks.json is loaded automatically, so manifest.hooks should only reference additional hook files.\n    at bxI (B:/~BUN/root/claude.exe:3522:4419)\n    at qWE (B:/~BUN/root/claude.exe:3522:7621)\n    at async zWE (B:/~BUN/root/claude.exe:3522:5865)\n    at async <anonymous> (B:/~BUN/root/claude.exe:3522:14921)\n    at async n4H (B:/~BUN/root/claude.exe:1655:27319)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-26T22:17:57.243Z"},{"error":"Error: Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file C:\\Users\\Hugh Macdonald\\.claude\\plugins\\cache\\claude-code-lsps\\pyright\\1.0.0\\hooks\\hooks.json. The standard hooks/hooks.json is loaded automatically, so manifest.hooks should only reference additional hook files.\n    at bxI (B:/~BUN/root/claude.exe:3522:4419)\n    at qWE (B:/~BUN/root/claude.exe:3522:7621)\n    at async zWE (B:/~BUN/root/claude.exe:3522:5865)\n    at async <anonymous> (B:/~BUN/root/claude.exe:3522:14921)\n    at async n4H (B:/~BUN/root/claude.exe:1655:27319)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-26T22:17:57.245Z"},{"error":"Error: Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file C:\\Users\\Hugh Macdonald\\.claude\\plugins\\cache\\claude-code-lsps\\terraform-ls\\1.0.0\\hooks\\hooks.json. The standard hooks/hooks.json is loaded automatically, so manifest.hooks should only reference additional hook files.\n    at bxI (B:/~BUN/root/claude.exe:3522:4419)\n    at qWE (B:/~BUN/root/claude.exe:3522:7621)\n    at async zWE (B:/~BUN/root/claude.exe:3522:5865)\n    at async <anonymous> (B:/~BUN/root/claude.exe:3522:14921)\n    at async n4H (B:/~BUN/root/claude.exe:1655:27319)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-26T22:17:57.247Z"},{"error":"Error: LSP config validation failed for .lsp.json in plugin clangd: [\n  {\n    \"code\": \"unrecognized_keys\",\n    \"keys\": [\n      \"loggingConfig\"\n  …

Note: Content was truncated.

View original on GitHub ↗

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