Category : server-side-rendering

I have created my angular universal application which has not any create/update/delete actions and made a new build and deployed it which is now running through a specific port. I was able to load the server side application into an html iframe in a separate web application. But by using iframe, I was restricted to ..

Read more

I am getting an error ⠏ Prerendering 27 route(s) to /Users/montheryounis/Desktop/app/app/app/dist/browser…ERROR TypeError: Cannot read property ‘_rawValidators’ of undefined it’s working fine with ng build –prod, build:ssr and serve,, only getting this error on npm run pretender i search a lot and fix a lot of undefined errors, but this one I am not able to ..

Read more

i have created project with firebase store. Now i want to implement server side rendering on it. After i did everything for ssr when i run program this is what i get ReferenceError: window is not defined at Object.ex9U (C:UserswaqasDesktopng-blogdistng-blogservermain.js:166129:4) at __webpack_require__ (C:UserswaqasDesktopng-blogdistng-blogservermain.js:26:30) at Module.vvyD (C:UserswaqasDesktopng-blogdistng-blogservermain.js:271824:80) at __webpack_require__ (C:UserswaqasDesktopng-blogdistng-blogservermain.js:26:30) at Module.PCNd (C:UserswaqasDesktopng-blogdistng-blogservermain.js:131612:74) at __webpack_require__ (C:UserswaqasDesktopng-blogdistng-blogservermain.js:26:30) ..

Read more

When using Angular Universal with AWS Lambda Edge, the component cannot be resolved. Error: Component ‘AuthComponent’ is not resolved: – templateUrl: ./auth.component.html – styleUrls: ["./auth.component.scss"] Did you run and wait for ‘resolveComponentResources()’? at Function.get (/var/task/dist/project/server.js:27891:27) at getComponentDef (/var/task/dist/project/server.js:1663:16) at verifyDeclarationsHaveDefinitions (/var/task/dist/project/server.js:27574:21) at Array.forEach (<anonymous>) at verifySemanticsOfNgModuleDef (/var/task/dist/project/server.js:27546:18) at flatten.map.forEach.mod (/var/task/dist/project/server.js:27543:9) at Array.forEach (<anonymous>) at verifySemanticsOfNgModuleDef ..

Read more