-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Unable to install Nodejs #616
Comments
Did you try install via Termux repo or official tarball? If official install, too does not work, NVM may work still.. Try installation via NVM. |
@Vm900 Does |
I tried I tried to get around it by doing the following: PREFIX= nvm use --delete-prefix stable This let it use the proper version, and There's more info at nvm-sh/nvm#1645 (comment) But, I am able to use the version from the regular repos. Just |
Specifically, |
Is that possible to normally install the ARM binary tarball provided on NodeJS website?
…On Jun 14, 2018 12:44 AM, Dan Jones ***@***.***> wrote:
I tried nvm, and it doesn't work on Termux because nvm doesn't work if PREFIX is set. It shows an error saying it doesn't work if PREFIX is set.
I tried to get around it by doing the following:
PREFIX= nvm use --delete-prefix stable
This let it use the proper version, and npm and npx both worked, but node failed. I suspect node and npm have some conflict with the PREFIX and the way nvm sets it.
There's more info at nvm-sh/nvm#1645 (comment)
But, I am able to use the version from the regular repos. Just pkg install node, and it works fine. Unfortunately, it's only 9.11.1, instead of the most recent version.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@goodevilgenius Yep it works but it installs an earlier version not the latest |
Hi
Been trying to install nodejs for days without any success.
I keep getting the following error messages:
dpkg: error processing archive /data/data/com.termux/files/usr/var/cache/apt/archives/nodejs_8.10.0_arm.deb(--unpack): corrupted filesystem tarfile -corrupted package archive
dpkg-deb (subprocess): decompressing archive member: Izma write error: Broken pipe
dpkg-deb: error: subprocess returned error exit status 2
Errors were encountered while processing:
/data/data/com.termux/files/usr/var/cache/apt/archives/nodejs_8.10.0_arm.deb
E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)
----------------- ----__x_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Please Help
Thanks
The text was updated successfully, but these errors were encountered: