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`

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