I fixed the error removed the Component from entryComponents and declarations on ComponentsModule.
But now, my modal gives me this error:
RROR Error: Uncaught (in promise): Error: No component factory found for SelectorPage. Did you add it to @NgModule.entryComponents?
Error: No component factory found for SelectorPage. Did you add it to @NgModule.entryComponents?
Code organization problems like this are hard to diagnose piecemeal. Would it be possible for you to upload a minimal repo to someplace like GitHub that includes enough code for others to reproduce your situation?