libsql icon indicating copy to clipboard operation
libsql copied to clipboard

Unable to install libsql in Termux: "Unsupported OS: android"

Open Arlen22 opened this issue 8 months ago • 1 comments

I'm trying to get libsql installed on android. For some reason I can't figure out how to make NPM detect it as linux instead of android. I've tried using the --os flag, but that doesn't make a difference. Could the "android" os be added to package.json?

error code EBADPLATFORM
68 error notsup Unsupported platform for [email protected]: wanted {"os":"darwin,linux,win32","cpu":"x64,arm64,wasm32"} (current: {"os":"android","cpu":"arm64"})
69 error notsup Valid os:   darwin,linux,win32
69 error notsup Actual os:  android
69 error notsup Valid cpu:  x64,arm64,wasm32
69 error notsup Actual cpu: arm64

After editing package.json and applying overrides at various places, I've discovered that the root of the problem is with @neon/cli not supporting android-arm64, so I've opened an issue there as well. https://github.com/neon-bindings/neon-rs/issues/70

Arlen22 avatar Apr 24 '25 13:04 Arlen22