Skip to content

Support android-arm64/Termux #57

@Maxr1998

Description

@Maxr1998

It would be cool to be able to run the httptoolkit server directly on device inside Termux.
Right now, npm install fails with the following trace:

1458 verbose stack Error: command failed 1458 verbose stack at ChildProcess.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27) 1458 verbose stack at ChildProcess.emit (node:events:513:28) 1458 verbose stack at maybeClose (node:internal/child_process:1091:16) 1458 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:302:5) 1459 verbose pkgid @sentry/cli@1.68.0 1460 verbose cwd /data/data/com.termux/files/home/apps/httptoolkit-server 1461 verbose Linux 5.10.81-android12-9-24709469-abF936BXXU1AVGA 1462 verbose node v18.7.0 1463 verbose npm v8.15.0 1464 error code 1 1465 error path /data/data/com.termux/files/home/apps/httptoolkit-server/node_modules/@sentry/cli 1466 error command failed 1467 error command sh /data/data/com.termux/files/usr/tmp/install-9fe2889a.sh 1468 verbose exit 1 1469 timing npm Completed in 6759ms 1470 verbose unfinished npm timer reify 1664099795483 1471 verbose unfinished npm timer reify:build 1664099801094 1472 verbose unfinished npm timer build 1664099801096 1473 verbose unfinished npm timer build:deps 1664099801096 1474 verbose unfinished npm timer build:run:install 1664099801149 1475 verbose unfinished npm timer build:run:install:node_modules/@sentry/cli 1664099801150 1476 verbose code 1 1477 error A complete log of this run can be found in: 1477 error /data/data/com.termux/files/home/.npm/_logs/2022-09-25T09_56_35_396Z-debug-0.log 

2022-09-25T09_56_35_396Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions