In landing /home page we implemented kline graph in angular 6, on page load its display perfectly. On navigating page to other page after redirecting to home page kline gets crashed and shows in console FirebaseError {code: "app/duplicate-app", message: "Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app).", name: "[DEFAULT]", ngDebugContext: DebugContext_, ngErrorLogger: ƒ, …}.
I tried angular lifecycle methods to prevent this issue but it unable to succeed. Provide me the solution for it.
In landing /home page we implemented kline graph in angular 6, on page load its display perfectly. On navigating page to other page after redirecting to home page kline gets crashed and shows in console FirebaseError {code: "app/duplicate-app", message: "Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app).", name: "[DEFAULT]", ngDebugContext: DebugContext_, ngErrorLogger: ƒ, …}. I tried angular lifecycle methods to prevent this issue but it unable to succeed. Provide me the solution for it.