我已将 Angular cli 和核心从 7.1 更新到 11.0。更新成功,但构建后出现以下错误。任何帮助都会有所帮助,谢谢。
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)