-
Notifications
You must be signed in to change notification settings - Fork 74
Description
Thanks for the report!
Root cause: When openclaw update runs npm internally, the Termux-specific build env vars (CXXFLAGS, GYP_DEFINES, CPATH) required to compile sharp's native module aren't available in that subprocess context.
Fix (shipped): update.sh now handles the openclaw package update directly — it pre-installs libvips and runs npm install with the build env vars properly inherited, so sharp compiles without errors.
Workaround for existing users: curl -sL https://raw.githubusercontent.com/AidanPark/openclaw-android/main/update.sh | bash Or if you just need to rebuild sharp: bash ~/.openclaw-android/scripts/build-sharp.sh
Note: the openclaw installation itself was already updated successfully — only the sharp module (image processing) failed to rebuild, so openclaw was fully functional.