Automatic crash on Angular universal project on server

In the Angular universal project. After a while on the server, the site automatically crashes and the server needs to be restarted. These errors are in the log. This has happened twice in the last month. There are too many "Converting circular structure to JSON" errors in the log file. (node:24572) [DEP0005] DeprecationWarning: Buffer() is […]

My angular project on mac Safari works in slow motion [closed]

When I run the project on Safari, the menus, scrolling between pages, animations, etc. work in slow motion. "@angular-builders/custom-webpack": "8.4.1", "@angular-devkit/build-angular": "^0.901.8", "@angular-devkit/build-ng-packagr": "^0.900.7", "@angular/cli": "^9.1.7", "@angular/compiler-cli": "^9.1.9", "@angular/language-service": "^9.1.9", "@types/jasmine": "^3.5.10", "@types/jasminewd2": "~2.0.3", "@types/node": "^12.12.44", "codelyzer": "^5.2.2", "jasmine-core": "~3.5.0", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.3.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~2.1.0", "karma-jasmine": "~2.0.1", "karma-jasmine-html-reporter": "^1.5.4", "ng-packagr": "^9.1.5", "protractor": […]

By h zare
Categorized as angular, css, frontend, javascript, safari Tagged , , , ,

Angular SSR website redirects to login page before going to actual path

I use Angular SSR and when I refresh on the pages, it goes to the login page first and then to the desired page. I also use cookies to store tokens. canActivate( route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> { return this.tokenService.isAuthenticated$.pipe( map(isAuth => { if (!isAuth) { this.router.navigate([‘auth’]).then(); return false; } return true; }) ); } […]

By h zare
Categorized as angular, javascript, observable Tagged , ,

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us