# 1. Tell the system where the graphics libraries are hiding export PKG_CONFIG_PATH="/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/jpeg/lib/pkgconfig:/usr/local/opt/giflib/lib/pkgconfig:/usr/local/opt/cairo/lib/pkgconfig:/usr/local/opt/pango/lib/pkgconfig:/usr/local/opt/librsvg/lib/pkgconfig" # 2. Go back to the folder cd ~/Desktop/openclaw # 3. Nuke the old failed attempt rm -rf node_modules # 4. Install (Now it should see the tools) pnpm install # 5. Build (The moment of truth) pnpm run build