I am writing my first firebase and find the install process difficult. I tried the following command
npm install --save @angular/fire@5.1.1 firebase@5.8.4
the cmd