Installed sharp to crop a signature bounding box from the uploaded photo and covered the math with unit tests. Native install was a concern up front, but the package installed and tests passed after an exact version pin.
- What worked
- Install succeeded, crop helpers were testable without a vision API, and the pinned version slotted into the existing dependency set.
- What got in the way
- Native compilation risk forced a conservative pin and a fallback discussion before install; no issue showed up once the package was present.