Skip to content

Cannot create new project in Android Arm64 with Termux #947

@falasyam

Description

@falasyam

Environment

Operating System: Android 13 Arm64
Node Version: v24.3.0
Nuxt Version: -
CLI Version: 3.25.1
Nitro Version: -
Package Manager: [email protected]
Builder: -
User Config: -
Runtime Modules: -
Build Modules: -

Reproduction

Minimal reproduction. Npx nuxi or npm create nuxt.

Describe the bug

After postinstall and nuxtprepare, show error npm install failed. I have tried npm and pnpm but still error.

Additional context

npx nuxi@latest init test

        .d$b.
       i$$A$$L  .d$b
     .$$F` `$$L.$$A$$.
    j$$'    `4$$:` `$$.
   j$$'     .4$:    `$$.
  j$$`     .$$:      `4$L
 :$$:____.d$$:  _____.:$$:
 `4$$$$$$$$P` .i$$$$$$$$P`

[nuxi 11:52:39 AM] ℹ Welcome to Nuxt!
[nuxi 11:52:39 AM] ℹ Creating a new project in test.

✔ Which package manager would you like to use?
npm
[nuxi 11:52:44 AM] ◐ Installing dependencies...
npm warn deprecated [email protected]: Use your platform's native DOMException instead

> @parcel/[email protected] install
> node scripts/build-from-source.js


> [email protected] postinstall
> node install.js


> [email protected] postinstall
> node install.js


> postinstall
> nuxt prepare


[nuxi 11:54:25 AM]  ERROR  Error: npm install failed.

Logs

0 verbose cli /data/data/com.termux/files/usr/bin/node /data/data/com.termux/files/usr/bin/npm
1 info using [email protected]
2 info using [email protected]
3 silly config load:file:/data/data/com.termux/files/usr/lib/node_modules/npm/npmrc
4 silly config load:file:/data/data/com.termux/files/home/.npmrc
5 silly config load:file:/data/data/com.termux/files/usr/etc/npmrc
6 verbose title npm create nuxt@latest
7 verbose argv "create" "nuxt@latest"
8 verbose logfile logs-max:10 dir:/data/data/com.termux/files/home/.npm/_logs/2025-07-09T05_04_25_465Z-
9 verbose logfile /data/data/com.termux/files/home/.npm/_logs/2025-07-09T05_04_25_465Z-debug-0.log
10 silly logfile start cleaning logs, removing 1 files
11 silly logfile done cleaning log files
12 silly packumentCache heap:1174405120 maxSize:293601280 maxEntrySize:146800640
13 http fetch GET 200 https://registry.npmjs.org/create-nuxt 2889ms (cache miss)
14 silly packumentCache heap:1174405120 maxSize:293601280 maxEntrySize:146800640
15 silly idealTree buildDeps
16 silly fetch manifest [email protected]
17 silly packumentCache full:https://registry.npmjs.org/create-nuxt cache-miss
18 http fetch GET 200 https://registry.npmjs.org/create-nuxt 869ms (cache miss)
19 silly packumentCache full:https://registry.npmjs.org/create-nuxt set size:undefined disposed:false
20 silly placeDep ROOT [email protected] REPLACE for:  want: 3.25.1
21 silly reify mark retired [
21 silly reify   '/data/data/com.termux/files/home/.npm/_npx/820ca40fe6734b94/node_modules/create-nuxt',
21 silly reify   '/data/data/com.termux/files/home/.npm/_npx/820ca40fe6734b94/node_modules/.bin/create-nuxt'
21 silly reify ]
22 silly reify moves {
22 silly reify   '/data/data/com.termux/files/home/.npm/_npx/820ca40fe6734b94/node_modules/create-nuxt': '/data/data/com.termux/files/home/.npm/_npx/820ca40fe6734b94/node_modules/.create-nuxt-ikweSspo',
22 silly reify   '/data/data/com.termux/files/home/.npm/_npx/820ca40fe6734b94/node_modules/.bin/create-nuxt': '/data/data/com.termux/files/home/.npm/_npx/820ca40fe6734b94/node_modules/.bin/.create-nuxt-Gwtcyfxi'
22 silly reify }
23 silly audit bulk request {
23 silly audit   citty: [ '0.1.6' ],
23 silly audit   consola: [ '3.4.2' ],
23 silly audit   'create-nuxt': [ '3.25.1' ]
23 silly audit }
24 http cache create-nuxt@https://registry.npmjs.org/create-nuxt/-/create-nuxt-3.25.1.tgz 0ms (cache hit)
25 silly tarball no local data for create-nuxt@https://registry.npmjs.org/create-nuxt/-/create-nuxt-3.25.1.tgz. Extracting by manifest.
26 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 1352ms
27 silly audit report {}
28 http fetch GET 200 https://registry.npmjs.org/create-nuxt/-/create-nuxt-3.25.1.tgz 2745ms (cache miss)
29 verbose stack Error: command failed
29 verbose stack     at promiseSpawn (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
29 verbose stack     at spawnWithShell (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
29 verbose stack     at promiseSpawn (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
29 verbose stack     at runScriptPkg (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:79:13)
29 verbose stack     at runScript (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
29 verbose stack     at run (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/run-script.js:57:10)
29 verbose stack     at async exec (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:305:10)
29 verbose stack     at async Init.execCreate (/data/data/com.termux/files/usr/lib/node_modules/npm/lib/commands/init.js:143:5)
29 verbose stack     at async Init.exec (/data/data/com.termux/files/usr/lib/node_modules/npm/lib/commands/init.js:46:14)
29 verbose stack     at async Npm.exec (/data/data/com.termux/files/usr/lib/node_modules/npm/lib/npm.js:208:9)
30 error code 1
31 error path /data/data/com.termux/files/home
32 error command failed
33 error command sh -c "create-nuxt"
34 verbose cwd /data/data/com.termux/files/home
35 verbose os Linux 4.19.157-perf-g4bfc0c77a19b
36 verbose node v24.3.0
37 verbose npm  v11.4.2
38 verbose exit 1
39 verbose code 1
40 error A complete log of this run can be found in: /data/data/com.termux/files/home/.npm/_logs/2025-07-09T05_04_25_465Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions