我最近将我正在运行的项目从 Angular 4.4.3 更新到 Angular5。我按照更新指南将所有 Angular 包更新为 Angular 5.0.0。
另外,我还将 angular CLI 更新为 1.5.0。从那时起,我在控制台中遇到以下错误:
polyfills.b8a5e5b….bundle.js:1 Uncaught ReferenceError: req is not defined
at polyfills.b8a5e5b….bundle.js:1
at polyfills.b8a5e5b….bundle.js:1
at polyfills.b8a5e5b….bundle.js:1
at Function.r.__load_patch (polyfills.b8a5e5b….bundle.js:1)
at polyfills.b8a5e5b….bundle.js:1
at c (polyfills.b8a5e5b….bundle.js:1)
at Object.<anonymous> (polyfills.b8a5e5b….bundle.js:1)
at Object.eFQL (polyfills.b8a5e5b….bundle.js:1)
at n (inline.904a54f….bundle.js:1)
at Object.TU+8 (polyfills.b8a5e5b….bundle.js:1)
我在这里错过了什么吗?