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