I have updated AngularJS to v19 and this error appears if using SSR
08:29:09 [vite] Error when evaluating SSR module /@fs/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js?v=8846fd1e:
|- TypeError: fn is not a function
at eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22539:40)
at Array.forEach (<anonymous>)
at initFeatures (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22539:24)
at Object.eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22430:5)
at noSideEffects (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:12171:5)
at Module.ɵɵdefineComponent (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22399:10)
at Function.<static_initializer> (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js:1317:17)
at eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js:1257:34)
at async instantiateModule (file:///mnt/ntfs2/Codes/website/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5)
08:29:09 [vite] Error when evaluating SSR module /@fs/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/primeng_autocomplete.js?v=8846fd1e:
|- TypeError: fn is not a function
at eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22539:40)
at Array.forEach (<anonymous>)
at initFeatures (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22539:24)
at Object.eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22430:5)
at noSideEffects (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:12171:5)
at Module.ɵɵdefineComponent (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22399:10)
at Function.<static_initializer> (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js:1317:17)
at eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js:1257:34)
at async instantiateModule (file:///mnt/ntfs2/Codes/website/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5)
08:29:09 [vite] Error when evaluating SSR module /chunk-WOTBJJCX.mjs:
|- TypeError: fn is not a function
at eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22539:40)
at Array.forEach (<anonymous>)
at initFeatures (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22539:24)
at Object.eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22430:5)
at noSideEffects (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:12171:5)
at Module.ɵɵdefineComponent (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22399:10)
at Function.<static_initializer> (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js:1317:17)
at eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js:1257:34)
at async instantiateModule (file:///mnt/ntfs2/Codes/website/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5)
08:29:09 [vite] Error when evaluating SSR module /main.server.mjs:
|- TypeError: fn is not a function
at eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22539:40)
at Array.forEach (<anonymous>)
at initFeatures (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22539:24)
at Object.eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22430:5)
at noSideEffects (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:12171:5)
at Module.ɵɵdefineComponent (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22399:10)
at Function.<static_initializer> (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js:1317:17)
at eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js:1257:34)
at async instantiateModule (file:///mnt/ntfs2/Codes/website/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5)
08:29:09 [vite] Internal server error: fn is not a function
at eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22539:40)
at Array.forEach (<anonymous>)
at initFeatures (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22539:24)
at Object.eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22430:5)
at noSideEffects (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:12171:5)
at Module.ɵɵdefineComponent (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-QNLJ3MPZ.js:22399:10)
at Function.<static_initializer> (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js:1317:17)
at eval (/mnt/ntfs2/Codes/website/.angular/cache/19.0.1/website/vite/deps_ssr/chunk-YLWRO5PV.js:1257:34)
at async instantiateModule (file:///mnt/ntfs2/Codes/website/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5)
[vite] Error when evaluating SSR module
Describe the bug
I have updated AngularJS to v19 and this error appears if using SSR
Environment
Reproducer
No response
Angular version
19.0.1
PrimeNG version
18.0.0-beta.5
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
Bun.sh 1.1.36+ededc168c
Browser(s)
Brave
Steps to reproduce the behavior
No response
Expected behavior
No response