firebase not found in envirorment ts file angular

Solutions on MaxInterview for firebase not found in envirorment ts file angular by the best coders in the world

showing results for - "firebase not found in envirorment ts file angular"
Cristina
26 Jan 2020
1// When you run ng build --prod angular-cli will use the environment.prod.ts file
2// and your environment.prod.ts files environment variable doesn't have the firebase
3// field hence you are getting the exception.
4
5export const environment = {
6  production: true,
7  firebase: {
8    apiKey: "...",
9    authDomain: "project.firebaseapp.com",
10    databaseURL: "https://project.firebaseio.com",
11    projectId: "project",
12    storageBucket: "project.appspot.com",
13    messagingSenderId: "..."
14  }
15};
16