matrix-org / matrix-org/matrix-rust-sdk-crypto-nodejs
Error: Unsupported OS: android, architecture: arm64
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 11
- Forks
- 23
- Avg merge
- 22h 12m
- Merged PRs (30d)
- 1
Description
how to use in termux?
```
> @matrix-org/matrix-sdk-crypto-nodejs@0.4.0-beta.1 postinstall
> node download-lib.js
/data/data/com.termux/files/home/wrapper/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/download-lib.js:127
throw new Error(`Unsupported OS: ${platform}, architecture: ${arch}`);
^
Error: Unsupported OS: android, architecture: arm64
at Object. (/data/data/com.termux/files/home/wrapper/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/download-lib.js:127:15)
at Module._compile (node:internal/modules/cjs/loader:1761:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1893:10)
at Module.load (node:internal/modules/cjs/loader:1481:32)
at Module._load (node:internal/modules/cjs/loader:1300:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47
Node.js v24.11.1
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The failure occurs in download-lib.js at line 127, invoked by the package postinstall script. Start by tracing the platform and architecture handling there and check whether the package provides an Android/arm64 path for Termux. Done means the issue has a documented or implemented path for this environment, with the postinstall behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, node.js, rust
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100