Skip to content

[WIP] Windows Compatibility Fix#85

Draft
udit-001 wants to merge 3 commits into
d-kimuson:mainfrom
udit-001:feat/windows-fix
Draft

[WIP] Windows Compatibility Fix#85
udit-001 wants to merge 3 commits into
d-kimuson:mainfrom
udit-001:feat/windows-fix

Conversation

@udit-001

@udit-001 udit-001 commented Dec 2, 2025

Copy link
Copy Markdown

Possible fix for #59 :

  • Corrected the .env.local path in vite.config.ts.
  • Updated .env.local.sample to include NODE_ENV, since the current package.json logic for setting NODE_ENV does not work on Windows.
  • Updated the related package.json script. Because NODE_ENV is critical, I recommend switching from --env-file-if-exists to --env-file so the server fails fast if the file is missing. I can update this if we agree, or adjust the instructions instead.
  • Removed quoted glob patterns in package.json since they break on Windows. Verified the server runs correctly without them on Linux (Fedora) as well.
  • Updated the command that checks the Claude CLI version to run properly on Windows. Windows requires commands invoked through runInShell(true) to correctly resolve executables on the PATH and handle .cmd/.exe wrappers, whereas the previous version failed to execute reliably across platforms.

Todo:
Need to make fix so we can start the chat from within the viewer

@udit-001 udit-001 mentioned this pull request Dec 2, 2025
@udit-001 udit-001 changed the title Windows Compatibility Fix [DRAFT] Windows Compatibility Fix Dec 3, 2025
@udit-001 udit-001 changed the title [DRAFT] Windows Compatibility Fix [WIP] Windows Compatibility Fix Dec 3, 2025
@udit-001 udit-001 marked this pull request as draft December 3, 2025 02:01
@d-kimuson

Copy link
Copy Markdown
Owner

@udit-001 Thanks for creating the PR!
The changes look good, but is there any remaining work to be done on this?

@udit-001

udit-001 commented Dec 7, 2025

Copy link
Copy Markdown
Author

Yes right now only viewing of conversations work, but if you try to start a chat, or continue old chat, it doesn't work, I'll finish that off and update you

@d-kimuson

Copy link
Copy Markdown
Owner

Okay, thank you! I'll be in touch!

aollivierre added a commit to aollivierre/claude-code-viewer that referenced this pull request Apr 20, 2026
Unofficial community guide for running @kimuson/claude-code-viewer on
Windows until upstream PRs d-kimuson#201 (migrations path) and d-kimuson#85 (CLI spawn)
are merged and released. Covers Node 24 user-space install, patched
fork build, and a single-file VBS launcher dropped in the user
Startup folder.

Not part of the upstream project — lives on this fork's main so fresh
machines can clone + follow.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants