top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

In Angular, Lazy Loading not working?

0 votes
533 views

I'm getting error while using lazy loading in Angular 5.

Error Details:
No module factory available for dependency type: ContextElementDependency. Please help me to sort this out.

posted Jul 9, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Angular Application depends on webpack.

There may be many reasons for this issues. Either webpack versions are not proper.

Or Multiple webpack versions are installed. For checking webpack in node check with the below command.

npm ls webpack If more than one versions are installed remove and make it one. Or try to uninstall the web pack install again

answer Jul 26, 2018 by Manish Tiwari
Similar Questions
0 votes

Hi,

browse.pause() function not working in protractor. This is an Angular 5 application generated using Angular Cli.

Any suggestion why it is not working? Actually, it's not giving any error.

0 votes

I need to reuse my Javascript module in typescript for my angular application. Can you guide me how to do that ?

0 votes

Every angular project is required for Redux ? or only required for large applications.

0 votes

In Angular.Js 1.x, Digest cycle handles by using $scope,$watch. Whereas in Anguar (2,4,5,6) how it is handling?

...