I just had a jaw-drop moment – Termux allows you to install NodeJS on an Android device!
It seems to work for a basic Websocket Speed Test I had on hand. The http served by it can be accessed both locally and on the network.
There is a medium post that explains the installation process
Basically: 1. Install termux 2. apt install nodejs 3. node it up!
One restriction I’ve run into – it seems the shared folders don’t have the necessary permissions to install modules. It might just be a file permission thing. The private app storage works just fine.
Related Posts:
- Running Node.Js on Android
- Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm
- Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm
- What causes signal ‘SIGILL’?
- Why am I seeing net::ERR_CLEARTEXT_NOT_PERMITTED errors after upgrading to Cordova Android 8?
- How to use su command over adb shell?
- How to use navigateUp to close the application
- “unable to locate adb” using Android Studio [duplicate]
- Install an apk file from command prompt?
- My users get “net::err_name_not_resolved”
- Solving “adb server version doesn’t match this client” error [duplicate]
- ‘node’ is not recognized as an internal or an external command, operable program or batch file while using phonegap/cordova
- What are the possible reasons for NFC Service to become dead after some time?
- Simple Android RecyclerView example
- What is ‘Context’ on Android?
- Session ‘app’ error while installing APK
- Couldn’t load memtrack module Logcat Error
- react-native: command not found
- How to change the status bar color in Android?
- How to use putExtra() and getExtra() for string data
- How do I get the dialer to open with phone number displayed?
- RecyclerView vs. ListView
- Is it possible to convert apk file to IPA file?
- How to: Install Plugin in Android Studio
- What does FrameLayout do?
- How to make a countdown timer in Android?
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- What’s LazyList?
- No Network Security Config specified, using platform default – Android Log
- Google Sceneform – Is it deprecated? Any replacement?
- getBluetoothService called with no BluetoothManagerCallback
- Android Studio: Unable to obtain result of ‘adb version’
- Android simple alert dialog
- java.lang.RuntimeException: Unable to instantiate activity ComponentInfo
- How to pause / sleep thread or process in Android?
- com.android.ide.common.process.ProcessException: Failed to execute aapt! What can I do?
- Could not find com.android.tools.build:gradle:3.0.1
- Error message ‘java.net.SocketException: socket failed: EACCES (Permission denied)’
- How do you change the launcher logo of an app in Android Studio?
- “Bitmap too large to be uploaded into a texture”
- How do you close/hide the Android soft keyboard programmatically?
- Picasso v/s Imageloader v/s Fresco vs Glide vs Coil
- Save bitmap to location
- Android : When do we use getIntent()?
- onActivityResult() not called
- How to resolve the “ADB server didn’t ACK” error?
- Custom Adapter for List View
- findViewByID returns null
- Android Intent Cannot resolve constructor
- Android Studio 1.2.1.1 – Failed to find style ‘textViewStyle’
- How to implement onBackPressed() in Fragments?
- Get Value of a Edit Text field
- Does anyone know the what’s causing “Package name is not a valid package name” when adding a new layout?
- Android Studio doesn’t see device
- Static way to get ‘Context’ in Android?
- How to completely uninstall Android Studio from windows(v10)?
- DELETE_FAILED_INTERNAL_ERROR Error while Installing APK
- How to install Google Play Services in a Genymotion VM (with no drag and drop support)?
- Failed to find Build Tools revision 23.0.1
- Android Device not recognized by adb
- emulator: incompatible HAX module version 3 requirs minimum version 4
- How do you change text to bold in Android?
- Android ADB doesn’t see device
- admob getting an ad response. ErrorCode: 0 Failed to load ad:0
- Android Studio – Company Domain Name
- What exactly does fitsSystemWindows do?
- Installing ADB on macOS [duplicate]
- What can com.sec.android.app.launcher be used for?
- How to create custom button in Android using XML Styles
- Android SDK path not specified
- Failed to connect to camera service
- How to create a file in Android?
- Cannot resolve method getApplicationContext()
- Change Orientation of Bluestack : portrait/landscape mode
- How to use ADB Shell when Multiple Devices are connected? Fails with “error: more than one device and emulator”
- Can I underline text in an Android layout?
- cannot resolve symbol ‘editText’
- This Activity already has an action bar supplied by the window decor
- getResources().getColor() is deprecated
- What’s the console.log() of java?
- E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xab7519c0
- How to disable an Android button?
- Get JSON Data from URL Using Android?
- notifyDataSetChange not working from custom adapter
- Re-enable “component tree” in Android Studio
- Singleton in Android
- How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue
- Android getResources().getDrawable() deprecated API 22
- How to hide popping up Google Play’s unlocked achievement programatically?
- Error during installing HAXM, VT-X not working
- Error: fix the version conflict (google-services plugin)
- User Operation is waiting for “Building Workspace”
- Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”
- adb devices return error: protocol fault (no status)
- How to get text from EditText?
- android.widget.Switch – on/off event listener?
- SDK Location not found in android studio
- Failed to load AppCompat ActionBar with unknown error in android studio
- How can I give access to WordPress site using an Android application ?