-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Closed
Copy link
Labels
area: @angular-devkit/build-angulardevkit/build-angular:serverfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity5: regressiontype: bug/fix
Milestone
Description
🐞 Bug report
Command (mark with an x)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Is this a regression?
Yes, the previous version in which this bug was not present was: 12.1.4
Description
When building a SSR application, and serving the SSR application, it used to work, but after the update, an error is logged during the process.
TypeError: Cannot convert undefined or null to object
at Function.getPrototypeOf (<anonymous>)
at /Users/Sources/angular-starterkit/dist/server/main.js:1:2701809
at Object.66252 (/Users/Sources/angular-starterkit/dist/server/main.js:1:2815455)
at __webpack_require__ (/Users/Sources/angular-starterkit/dist/server/main.js:1:3657752)
at Object.42853 (/Users/Sources/angular-starterkit/dist/server/main.js:1:2904269)
at __webpack_require__ (/Users/Sources/angular-starterkit/dist/server/main.js:1:3657752)
at Module.25944 (/Users/Sources/angular-starterkit/dist/server/main.js:1:2908930)
at __webpack_require__ (/Users/Sources/angular-starterkit/dist/server/main.js:1:3657752)
at app (/Users/Sources/angular-starterkit/dist/server/main.js:1:5131921)
at run (/Users/Sources/angular-starterkit/dist/server/main.js:1:5133175)
🔬 Minimal Reproduction
https://github.com/rickvandermey/angular-starterkit/tree/feature/update-deps
Steps:
npm cinpm run start:ssr
🌍 Your Environment
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 12.2.5
Node: 14.16.1
Package Manager: npm 7.21.0
OS: darwin x64
Angular: 12.2.5
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1202.5
@angular-devkit/build-angular 12.2.5
@angular-devkit/core 12.2.5
@angular-devkit/schematics 12.2.5
@nguniversal/express-engine 12.1.0
@schematics/angular 12.2.5
rxjs 7.3.0
typescript 4.3.5
webpack 5.52.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angulardevkit/build-angular:serverfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity5: regressiontype: bug/fix