Is angularfire2 deprecated?

In the Project: Set Up Section, after creating a new project, then installing these libraries with npm: “firebase@4.2.0” and “angularfire2@4.0.0-rc-1”
Editing the app.module.ts like he does in the video:

import { environment } from “./…/environments/environment”;

import { BrowserModule } from “@angular/platform-browser”;

import { NgModule } from “@angular/core”;

import { AppRoutingModule } from “./app-routing.module”;

import { AppComponent } from “./app.component”;

import { AngularFireModule } from “angularfire2”;

import { AngularFireDatabaseModule } from “angularfire2/database”;

import { AngularFireAuthModule } from “angularfire2/auth”;


declarations: [AppComponent],

imports: [







providers: [],

bootstrap: [AppComponent],


export class AppModule {}

and finally, doing “ng serve” in the project directory, I got these 2 errors:

Warning: Entry point ‘angularfire2’ contains deep imports into ‘C:/Users/elida/OneDrive/organic shop app/node_modules/firebase/app’. This is probably not a problem, but may cause the compilation of entry points to be out of order.

Error: The target entry-point “angularfire2” has missing dependencies:

  • @angular/core
  • rxjs/Observable

And the page does not work in the browser, it gives a 404 error.

Mosh did this course 4 years ago, I know that this is a lot, but I don’t know what has changed with these angular libraries, how it is done now? Is the angularfire2 deprecated, and if it so, what to install with npm and what to do in the app.module file?