Illegal state: Could not load the summary for directive

The above error in my case was because one of our own node modules was compiled with "node_modules" lib inside, after deleting it all worked again.

Note that with "ng build" we didnt get any errors only with "ng build -prod" (no need for double dash "--")


  1. Great Post,really it was very helpful for us.
    Thanks a lot for sharing!
    I found this blog to be very useful!!
    JAVA training in Bangalore


Post a Comment

Popular posts from this blog

OverTheWire[.com] Natas Walkthrough - JUST HINT, NO SPOILERS

Asp.Net Ending Response options, Response.End() vs CompleteRequest()

Console Application.DoEvents() SOLVED!! example