I came here to find an answer to the same question but I solved it myself. I had an angular compilation error in my app (I hadn't run ng build) and the error above was masking this problem. I had missed some properties on an object I was using in a resolver.
I'm running Angular ~7.x
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…