Skip to content

Conversation

@FerBuono
Copy link

Summary

When running the Tauri dev build, compilation failed with E0063 due to a missing
installation_type field in the ClaudeInstallation initializer for the NVM_BIN
detection path.

This PR adds:

  • installation_type: InstallationType::System to the NVM_BIN path, matching the
    existing behavior used in the NVM directory scan.

Reproduction

# dev build
bun run tauri dev
# or
cd src-tauri && cargo build

Error

error[E0063]: missing field `installation_type` in initializer of `ClaudeInstallation`
   --> src/claude_binary.rs:222:32
    |
222 |             installations.push(ClaudeInstallation {
    |                                ^^^^^^^^^^^^^^^^^^ missing `installation_type`

jms830 added a commit to jms830/opcode that referenced this pull request Dec 8, 2025
- PR winfunc#407: Use ES module import for Tauri event listeners
  - Fixes event listeners not receiving events in ClaudeCodeSession
  - Uses runtime check instead of module load time detection

- PR winfunc#344: Handle missing ~/.claude directory gracefully
  - Check if directory exists before canonicalizing
  - Fall back to original path if canonicalize fails

Note: PR winfunc#278 (IME fix) and PR winfunc#373 (installation_type fix) were already implemented
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.

1 participant