Skip to content

Installation fails in Termux (Android) due to native module compilation (keytar) #988

Description

Description

Installing google_workspace_mcp on Termux (Android/arm64) fails because one of its dependencies, node-keytar, fails to compile its native module. This is a known issue on Termux-based architectures where prebuilt binaries are unavailable.

Impact

Users on Termux cannot install this package without specific workarounds.

Workaround

The native module compilation for keytar needs to be handled separately.

  1. Install Build Tools (if not already present):

    pkg install python make clang
  2. Fix/Build Keytar Globally:
    Follow the workaround provided in the node-keytar repository: Installation fails in Termux (Android) github/node-keytar#22

  3. Install google_workspace_mcp bypassing script execution:
    Once you have a functional, globally installed keytar, you can install this extension while ignoring the failing build scripts:

    npm install -g google_workspace_mcp --ignore-scripts

This approach allows installation on Termux environments by bypassing the problematic native compilation step during the extension's installation.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions