Установите Firebase в React
$ npm install firebase
# or
$ yarn add firebase
Salo Hopeless
$ npm install firebase
# or
$ yarn add firebase
npm install firebase