更新时间:2021-06-30 23:21:02
我来这里是为了找到相同问题的答案,但我自己解决了.我的应用程序出现了一个角度编译错误(我没有运行ng build),上面的错误掩盖了这个问题.我错过了在解析器中使用的对象的某些属性.
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.
我正在运行Angular〜7.x
I'm running Angular ~7.x