Are you facing the below error? I’ve tried various solutions from different forums and no solution worked for me. Finally, I tried deleting the node modules, which helped to solve the problem.
ERROR in ./src/\(_lazy_route_resource lazy namespace object Module not found: Error: Can't resolve '.module.ngfactory.js' in '\)_lazy_route_resource’
Steps: 1. Delete the node modules folder 2. Run -> npm install