DEV Community

CodetoLive blog
CodetoLive blog

Posted on • Originally published at codetolive.in on

ERROR in ./src/$$_lazy_route_resource lazy namespace object Module not found. Cant resolve .module.ngfactory.js in...

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’

Solution:

Steps:
1. Delete the node modules folder
2. Run -> npm install

Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up