From 967832d7e211d653cb5b8e97f2291faf8b23fcba Mon Sep 17 00:00:00 2001
From: "Mr. Blogger" <siddh.mistry396321@gmail.com>
Date: Mon, 11 Oct 2021 17:54:38 +0530
Subject: [PATCH 1/2] resolving error of nodejs

to be on save side while installing code-server using yarn on Termux to prevent the following error
```
yarn global add code-server
yarn global v1.22.15
[1/4] Resolving packages...
[2/4] Fetching packages...
error code-server@3.12.0: The engine "node" is incompatible with this module. Expected version "= 14". Got "16.11.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
```
---
 docs/termux.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/termux.md b/docs/termux.md
index 454b585e6e74..55434bde92ed 100644
--- a/docs/termux.md
+++ b/docs/termux.md
@@ -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. 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 nodejs-lts yarn`
 1. Install code-server: `yarn global add code-server`
 1. Run code-server: `code-server` and navigate to localhost:8080 in your browser
 

From fad603eae76af4369568548acf339ca854d346f3 Mon Sep 17 00:00:00 2001
From: Asher <ash@coder.com>
Date: Mon, 25 Oct 2021 11:13:08 -0500
Subject: [PATCH 2/2] Remove nodejs from Termux docs

Since we are installing nodejs-lts.  I am not even sure it lets you install both anyway.
---
 docs/termux.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/termux.md b/docs/termux.md
index 55434bde92ed..db50adf3c8d0 100644
--- a/docs/termux.md
+++ b/docs/termux.md
@@ -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. Make sure it's up-to-date: `apt update && apt upgrade`
-1. Install required packages: `apt install build-essential python git nodejs nodejs-lts yarn`
+1. Install required packages: `apt install build-essential python git nodejs-lts yarn`
 1. Install code-server: `yarn global add code-server`
 1. Run code-server: `code-server` and navigate to localhost:8080 in your browser