i'm newbie in scripting i'm trying to run node.js script with termux on android and i'm getting errors everytime i have no idea how to fix i know nothing about that so what code must i use?

https://i.sstatic.net/QuRMn.jpg here is screenshot

https://i.sstatic.net/vhKW0.jpg he do it without problems

1 Answer 1


From the console it seems, the script requires root privileges to be executed which are not available/disabled on your device

  • Hey, thank u so much for response, i have rooted device but still not working
    – SULL
    Commented Apr 26, 2017 at 19:37
  • Have you checked the logs, and see the information there? Commented Apr 26, 2017 at 19:40
  • Which logs? i checked termux logs but here is ony npm-debug
    – SULL
    Commented Apr 26, 2017 at 19:45
  • Btw i have rooted phone but still i can't find termux's default directory ''/data/data/com.termux/files/home.'' i change it to /storage/emulated/0/Download/Termux i rooted device with KingRoot
    – SULL
    Commented Apr 26, 2017 at 19:47
  • I think your device was not properly rooted. How recent did you perfom the rooting? Commented Apr 26, 2017 at 19:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .