fix: amend onNavigate type (#11599)
fix: better error message when peer dependency cannot be found (#11598)