Skip to content

build-sharp.sh not work #6

@thoitiettxl-cyber

Description

@thoitiettxl-cyber

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions