Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI fails to run on android-arm64 #824

Open
easrng opened this issue Feb 20, 2024 · 0 comments
Open

CLI fails to run on android-arm64 #824

easrng opened this issue Feb 20, 2024 · 0 comments

Comments

@easrng
Copy link

easrng commented Feb 20, 2024

Version: 0.45.0

~/TypeScript-qjs $ pnpm i
Lockfile is up to date, resolution step is skipped
Packages: +307
++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 307, reused 169, downloaded 0, added Progress: resolved 307, reused 306, downloaded 0, added Progress: resolved 307, reused 307, downloaded 0, added 1, done
node_modules/.pnpm/dprint@0.45.0/node_modules/dprint: Runode_modules/.pnpm/dprint@0.45.0/node_modules/dprint: Running postinstall script, failed in 227ms
.../dprint@0.45.0/node_modules/dprint postinstall$ no…
│ node:internal/modules/cjs/loader:1073
│   throw err;
│   ^
│ Error: Cannot find module '@dprint/android-arm64/pa…
│ Require stack:
│ - /data/data/com.termux/files/home/TypeScript-qjs/n…
│ - /data/data/com.termux/files/home/TypeScript-qjs/n…
│     at Module._resolveFilename (node:internal/modul…
│     at Function.resolve (node:internal/modules/help…
│     at Object.runInstall (/data/data/com.termux/fil…
│     at Object.<anonymous> (/data/data/com.termux/fi…
│     at Module._compile (node:internal/modules/cjs/l…
│     at Module._extensions..js (node:internal/module…
│     at Module.load (node:internal/modules/cjs/loade…
│     at Module._load (node:internal/modules/cjs/load…
│     at Function.executeUserEntryPoint [as runMain] …
│     at node:internal/main/run_main_module:23:47 {
│   code: 'MODULE_NOT_FOUND',
│   requireStack: [
│     '/data/data/com.termux/files/home/TypeScript-qj…
│     '/data/data/com.termux/files/home/TypeScript-qj…
│   ]
│ }
│ Node.js v20.2.0
└─ Failed in 227ms at /data/data/com.termux/files/home/TypeScript-qjs/node_modules/.pnpm/dprint@0.45.0/node_modules/dprint
 ELIFECYCLE  Command failed with exit code 1.

Maybe consider a fallback wasm build of the CLI for more niche targets?

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

No branches or pull requests

1 participant