我最近将我的运行项目从Angular 4.4.3更新为Angular5.我根据更新指南将所有角度包更新到Angular 5.0.0.
另外,我还将角度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)
我在这里错过了什么吗?
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。