Question: uncaught (in promise) error type component is part of the declarations of 2 modules?
Answer: Error: Type ... is part of the declarations of 2 (or more) modules: The solution to this problem is pretty simple. If you need to use a component in more than one modules then add it to the exports array of the module that declared it.