I try to run some nodejs script but I see nodejs isn't installed.
So I install it and when I try to run it it say
~/Discord-MusicBot $ node
CANNOT LINK EXECUTABLE "node": cannot locate symbol "__emutls_get_address" referenced by "/data/data/com.termux/files/usr/bin/node"...
Also happen on npm
~/Discord-MusicBot $ npm
CANNOT LINK EXECUTABLE "node": cannot locate symbol "__emutls_get_address" referenced by "/data/data/com.termux/files/usr/bin/node"...
I also try with nodejs-lts but it error the same thing.
Help.
Here's video if you want to know what happen
Video
What steps will reproduce the bug?
apt install nodejs
node
npm
apt autoremove nodejs
apt install nodejs-lts
node
npm
What is the expected behavior?
Fully functional nodejs
System information
termux-info:
~ $ termux-info
Application version:
0.117
Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://grimler.se/termux-packages-24/ stable main
# game-repo (sources.list.d/game.list)
deb https://deb.kcubeterm.me/termux-games games stable
# science-repo (sources.list.d/science.list)
deb https://deb.kcubeterm.me/termux-science science stable
# root-repo (sources.list.d/root.list)
deb https://packages.termux.org/apt/termux-root root stable
# unstable-repo (sources.list.d/unstable.list)
deb https://packages.termux.org/apt/termux-unstable unstable main
# x11-repo (sources.list.d/x11.list)
deb https://packages.termux.org/apt/termux-x11 x11 main
Updatable packages:
apt/stable 2.3.11-2 arm [upgradable from: 2.3.9]
binutils/stable 2.37-3 arm [upgradable from: 2.37-1]
ca-certificates/stable,stable 1:2021-10-26-0 all [upgradable from: 20211001-1]
clang/stable 13.0.0-1 arm [upgradable from: 12.0.1]
command-not-found/stable 1.66 arm [upgradable from: 1.63]
coreutils/stable 9.0 arm [upgradable from: 8.32-8]
git/stable 2.33.1 arm [upgradable from: 2.33.0-1]
harfbuzz/stable 3.0.0-1 arm [upgradable from: 3.0.0]
libaom/stable 3.2.0 arm [upgradable from: 3.1.2-1]
libc++/stable 23b-3 arm [upgradable from: 21d-1]
libflac/stable 1.3.3-2 arm [upgradable from: 1.3.3-1]
libgraphite/stable 1.3.14-1 arm [upgradable from: 1.3.14]
libllvm/stable 13.0.0-1 arm [upgradable from: 12.0.1]
libnghttp2/stable 1.46.0 arm [upgradable from: 1.45.1]
libtiff/stable 4.3.0-1 arm [upgradable from: 4.3.0]
libtirpc/stable 1.3.1-2 arm [upgradable from: 1.3.1]
libvpx/stable 1.10.0-2 arm [upgradable from: 1.10.0]
libx265/stable 3.5-3 arm [upgradable from: 3.5-1]
ndk-sysroot/stable 23b arm [upgradable from: 21d-2]
python/stable 3.10.0-2 arm [upgradable from: 3.10.0-1]
termux-tools/stable,stable 0.145 all [upgradable from: 0.143]
Android version:
10
Kernel build information:
Linux localhost 4.9.190+ #2 SMP PREEMPT Wed Jul 28 17:21:10 CST 2021 armv7l Android
Device manufacturer:
TECNO MOBILE LIMITED
Device model:
TECNO KD6
I can't reproduce on my device. Probably you haven't picked up the recent NDK update.
pkg up to update all your packages. Then node should work as expected
Problem description
I try to run some nodejs script but I see nodejs isn't installed.
So I install it and when I try to run it it say
Also happen on npm
I also try with nodejs-lts but it error the same thing.
Help.
Here's video if you want to know what happen Video
What steps will reproduce the bug?
apt install nodejs
node
npm
apt autoremove nodejs
apt install nodejs-lts
node
npm
What is the expected behavior?
Fully functional nodejs
System information
termux-info: