EAS Build failed on firebase package

Hello Everyone

I’m trying to integrate Firebase auth

install the @react-native-firebase/auth: ^18.3.0
@react-native-firebase/app”: “^17.5.0”,

but when I try to build this with eas build it gives me some errors related to
react-native-firebase/auth and react-native-firebase/app

I’m using eas-cli/4.1.2 version

Kindly let me know if there is any solution