I recently upgraded the current project from Angular 4.4.3 to Angular5. I upgraded all Angular packages to Angular 5.0.0 in accordance with the upgrade guide.
Plus, I also updated the Angular CLI to 1.5.0. Since then, I get below console errors:
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)
Am I missing something?
source
share