After successfully upgrading our Angular 7 app to Angular 12 using the migration steps from the official Angular website, we encountered a warning when running the Angular CLI with npm start:
'node-sass' usage is deprecated and will be removed in a future major version. To opt-out of the deprecated behaviour and start using 'sass', uninstall 'node-sass'.
However, upon launching our app, we faced the following error:
util.js:109 Uncaught ReferenceError: process is not defined
at Object.71732 (util.js:109)
at __webpack_require__ (bootstrap:19)
at Module.77741 (documents.component.ts:19)
at __webpack_require__ (bootstrap:19)
at Module.86100 (list.component.ts:9)
at __webpack_require__ (bootstrap:19)
at Module.15204 (sysbiz.service.ts:10)
at __webpack_require__ (bootstrap:19)
at Module.65790 (not-found.component.ts:10)
at __webpack_require__ (bootstrap:19)
We are currently at a loss on how to resolve this issue as it results in a blank page being displayed.