Mason.nvim not working correctly is a known issue on Termux, it doesn't account for Termux not being a regular Linux distro so the automatic LSP download can't provide a version that works on Termux.
I dont know why sir? My mason can work normally in golang but it cant run tsserver, i have check some github issues but still dont know how to fix that (sorry because my bad english sir)
Problem Showing Error: Spawning language server with cmd: /data/data/com.termux/files/usr/bin/typescript-language-server failed. The language server is either not installed, missing from PATH , or ...