简体   繁体   English

Angular 11:未捕获的引用错误:未定义进程

[英]Angular 11: Uncaught ReferenceError: process is not defined

I have updated the angular cli and core from 7.1 to 11.0.我已将 angular cli 和核心从 7.1 更新到 11.0。 Updation was successful but after the build getting the below error.更新成功,但构建后出现以下错误。 Any help will be helpfull thanks.任何帮助都会有所帮助,谢谢。

Uncaught ReferenceError: process is not defined
at Object.MCLT (vendor.js:207652)
at __webpack_require__ (bootstrap:79)
at Module.tsWA (main.js:32483)
at __webpack_require__ (bootstrap:79)
at Module.kRbw (main.js:27366)
at __webpack_require__ (bootstrap:79)
at Module.x9mp (main.js:34563)
at __webpack_require__ (bootstrap:79)
at Module.cbUm (main.js:22517)
at __webpack_require__ (bootstrap:79)
at Module.PCNd (main.js:15277)
at __webpack_require__ (bootstrap:79)
at Module.NHw6 (main.js:14372)
at __webpack_require__ (bootstrap:79)
at Module.3tpA (main.js:4066)

There is an official instruction for migration among the Angular version. Angular版本之间有官方迁移说明。 It may be helpful if you take a look at it here .如果您在这里查看它可能会有所帮助。 Also, keep in mind that you may need to update npm packages.另外,请记住,您可能需要更新 npm 包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM