# Android 8 Install

**URL:** https://discourse.nodered.org/t/android-8-install/98428
**Category:** General
**Created:** [31 July 2025 23:15 UTC](https://discourse.nodered.org/t/android-8-install/98428 "2025-07-31T23:15:43Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![MarcoGaspar](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@MarcoGaspar](https://discourse.nodered.org/u/MarcoGaspar)
#### Post date: [31 July 2025 23:15 UTC](https://discourse.nodered.org/t/android-8-install/98428/1 "2025-07-31T23:15:43Z")

</div>

The cmd:npm i -g --unsafe-perm node-red give error

 ![WhatsApp Image 2025-08-01 at 00.13.13](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/c/bcfe849d57ad5da12a175d6075411bd1c9167ea5.jpeg)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [1 August 2025 20:02 UTC](https://discourse.nodered.org/t/android-8-install/98428/2 "2025-08-01T20:02:52Z")

</div>

Did you try: `npm install -g node-red –unsafe-perm –production`?

Note that the arguments are after the thing to install. `–production` ensures that you are not getting any of the development “cruft”.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [1 August 2025 20:26 UTC](https://discourse.nodered.org/t/android-8-install/98428/3 "2025-08-01T20:26:05Z")

</div>

What happens if you drop the —unsafe-perm flag. It isn’t really needed in most instances.

---

<div class="post-metadata">

### Author: ![MarcoGaspar](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@MarcoGaspar](https://discourse.nodered.org/u/MarcoGaspar)
#### Post date: [2 August 2025 13:28 UTC](https://discourse.nodered.org/t/android-8-install/98428/4 "2025-08-02T13:28:26Z")

</div>

Always the same error:

 ![WhatsApp Image 2025-08-02 at 14.26.35](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/a/3af4383bd7cab659f2b6dbb5fc627a4712301b33.jpeg)

 ![WhatsApp Image 2025-08-02 at 14.26.33](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/1/0116b5f6e513d216aa19baead64cb79df5179ff5.jpeg)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [2 August 2025 13:42 UTC](https://discourse.nodered.org/t/android-8-install/98428/5 "2025-08-02T13:42:50Z")

</div>

Did you try what it suggests? --omit=dev instead of -production?  
I don't expect it to make a difference though.

---

<div class="post-metadata">

### Author: ![MarcoGaspar](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@MarcoGaspar](https://discourse.nodered.org/u/MarcoGaspar)
#### Post date: [2 August 2025 13:57 UTC](https://discourse.nodered.org/t/android-8-install/98428/6 "2025-08-02T13:57:31Z")

</div>

yes… always same error

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [2 August 2025 14:12 UTC](https://discourse.nodered.org/t/android-8-install/98428/7 "2025-08-02T14:12:24Z")

</div>

> <https://github.com/termux/termux-packages/issues/25455>
>
> \### Problem description
> 
> Try to install or execute npm scripts causes a fatal er…ror.
> \<img width="523" height="339" alt="Image" src="https://github.com/user-attachments/assets/24c93959-2978-44fd-b224-7376bb0f465b" /\>
> 
> \### What steps will reproduce the bug?
> 
> Clone a git repo and try to \`npm install\`.
> 
> I also tried to get the node\_modules from FTP and only run the code on Termux, but that give me the same error.
> 
> \### What is the expected behavior?
> 
> \_No response\_
> 
> \### System information
> 
> \`\`\`shell
> Termux Variables:
> TERMUX\_APK\_RELEASE=F\_DROID
> TERMUX\_APP\_PACKAGE\_MANAGER=apt
> TERMUX\_APP\_PID=2053
> TERMUX\_APP\_\_DATA\_DIR=/data/user/0/com.termux
> TERMUX\_APP\_\_LEGACY\_DATA\_DIR=/data/data/com.termux
> TERMUX\_APP\_\_SE\_FILE\_CONTEXT=u:object\_r:app\_data\_file:s0:c512,c768
> TERMUX\_APP\_\_SE\_INFO=untrusted:targetSdkVersion=28:complete
> TERMUX\_IS\_DEBUGGABLE\_BUILD=0
> TERMUX\_MAIN\_PACKAGE\_FORMAT=debian
> TERMUX\_VERSION=0.118.3
> TERMUX\_\_HOME=/data/data/com.termux/files/home
> TERMUX\_\_PREFIX=/data/data/com.termux/files/usr
> TERMUX\_\_ROOTFS\_DIR=/data/data/com.termux/files
> TERMUX\_\_SE\_PROCESS\_CONTEXT=u:r:untrusted\_app:s0:c512,c768
> TERMUX\_\_USER\_ID=0
> Packages CPU architecture:
> arm
> Subscribed repositories:
> \# sources.list
> deb https://packages-cf.termux.dev/apt/termux-main stable main
> Updatable packages:
> All packages up to date
> termux-tools version:
> 1.45.0
> Android version:
> 8.1.0
> Kernel build information:
> Linux localhost 3.18.14-14381225-QB32850305 #1 SMP PREEMPT Thu Jul 9 05:53:45 KST 2020 armv8l Android
> Device manufacturer:
> samsung
> Device model:
> SM-G610M
> Supported ABIs:
> SUPPORTED\_ABIS: armeabi-v7a,armeabi
> SUPPORTED\_32\_BIT\_ABIS: armeabi-v7a,armeabi
> SUPPORTED\_64\_BIT\_ABIS:
> LD Variables:
> LD\_LIBRARY\_PATH=
> LD\_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
> \`\`\`

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [2 August 2025 15:03 UTC](https://discourse.nodered.org/t/android-8-install/98428/8 "2025-08-02T15:03:08Z")

</div>

Good find.

@MarcoGaspar add a comment to that issue telling them the command you are using so they can test it.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [1 October 2025 15:04 UTC](https://discourse.nodered.org/t/android-8-install/98428/9 "2025-10-01T15:04:01Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
