[web] Improve error messages around missing packages GitOrigin-RevId: d6f59f452cdc8a5a7e59b9809f68bd18f629ba32