Having trouble deploying my app on netlify, as the deploys keep failing with this error:
Error: src/app/components/toolbar/toolbar.component.ts:12:14 - error NG6007: The Component 'ToolBarComponent' is declared by more than one NgModule.
The issue arises from using the declaration statement to utilize it in other pages like so:
18 declarations: [DestinyPage, ToolBarComponent, ModalDestinyPage],
I attempted using it in the import statement but encountered this error:
ToolBarComponent does not have 'ɵmod' property
Using the export statement yielded the same error. Another suggestion I came across was utilizing the module instead of the component in files that reference the toolbar. However, since the toolbar doesn't have a specific page, I deemed this solution unapplicable.
Any assistance would be greatly appreciated!
git link: https://github.com/devpupo/baps-app