Replace nodejs with nodejs-lts in Termux docs (#4336)

nodejs installs v16 which is not compatible.  nodejs-lts currently uses v14.
This commit is contained in:
Mr. Blogger 2021-10-25 16:14:37 +00:00 committed by GitHub
parent 3520ad2286
commit 0e97a94acf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ run code-server from your Android phone.
1. Install Termux from [F-Droid](https://f-droid.org/en/packages/com.termux/). 1. Install Termux from [F-Droid](https://f-droid.org/en/packages/com.termux/).
1. Make sure it's up-to-date: `apt update && apt upgrade` 1. Make sure it's up-to-date: `apt update && apt upgrade`
1. Install required packages: `apt install build-essential python git nodejs yarn` 1. Install required packages: `apt install build-essential python git nodejs-lts yarn`
1. Install code-server: `yarn global add code-server` 1. Install code-server: `yarn global add code-server`
1. Run code-server: `code-server` and navigate to localhost:8080 in your browser 1. Run code-server: `code-server` and navigate to localhost:8080 in your browser