Я пытаюсь обновить приложение angular с 8 до 9. К сожалению, кажется, что приложение зависает / загружается на какой-то странице на неопределенное время без каких-либо ошибок, поэтому я не могу его отладить.
Текущая вкладка перестают отвечать на запросы, и я должен закрыть его с помощью диспетчера процессов.
Это мой пакет. json до
{
"name": "web-front",
"version": "1.0.3",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"build:package": "node bin/build.js"
},
"private": true,
"dependencies": {
"@angular/animations": "~8.2.8",
"@angular/cdk": "^8.2.3",
"@angular/common": "~8.2.8",
"@angular/compiler": "~8.2.8",
"@angular/core": "~8.2.8",
"@angular/forms": "~8.2.8",
"@angular/platform-browser": "~8.2.8",
"@angular/platform-browser-dynamic": "~8.2.8",
"@angular/router": "~8.2.8",
"@dagrejs/graphlib": "^2.1.4",
"@ng-bootstrap/ng-bootstrap": "^5.3.0",
"@ng-select/ng-select": "^3.7.3",
"@ngx-translate/core": "11.0.1",
"@ngx-translate/http-loader": "4.0.0",
"@swimlane/ngx-charts": "^13.0.2",
"angular-datatables": "^8.0.0",
"angular-oauth2-oidc": "8.0.4",
"angular2-uuid": "^1.1.1",
"bootstrap": "^4.3.1",
"chroma-js": "^2.0.6",
"d3": "^5.12.0",
"d3-simple-slider": "^1.5.4",
"datatables.net": "^1.10.20",
"datatables.net-dt": "^1.10.20",
"humanize-duration": "^3.22.0",
"install": "^0.13.0",
"jointjs": "^3.0.4",
"moment": "^2.24.0",
"ng-sidebar": "^9.2.0",
"ngx-slick-carousel": "^0.4.6",
"ngx-spinner": "^8.0.3",
"ngx-toastr": "^11.3.3",
"primeicons": "^2.0.0",
"primeng": "^8.0.4",
"retina-dom-to-image": "^2.5.6",
"rxjs": "~6.5.3",
"slick-carousel": "^1.8.1",
"svg-pan-zoom": "^3.6.1",
"tslib": "^1.11.1",
"underscore": "^1.10.2",
"zone.js": "^0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.803.25",
"@angular/cli": "^8.3.25",
"@angular/compiler-cli": "~8.2.8",
"@angular/language-service": "~8.2.8",
"@types/d3": "^5.7.2",
"@types/datatables.net": "^1.10.17",
"@types/jasmine": "^3.5.8",
"@types/jasminewd2": "^2.0.8",
"@types/jquery": "^3.3.33",
"@types/node": "^13.9.0",
"codelyzer": "^5.0.1",
"compressing": "^1.4.0",
"concurrently": "^5.1.0",
"fs": "0.0.2",
"jasmine-core": "^3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^4.4.1",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "*",
"karma-jasmine": "^3.1.1",
"karma-jasmine-html-reporter": "^1.5.2",
"mkdirp": "0.5.1",
"ngx-spec": "^2.0.0",
"protractor": "^5.4.3",
"rimraf": "^3.0.2",
"ts-node": "^8.6.2",
"tslint": "^5.11.0",
"typescript": "~3.4.5"
}
}
И после:
{
"name": "web-front",
"version": "1.0.3",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"build:package": "node bin/build.js"
},
"private": true,
"dependencies": {
"@angular/animations": "~9.1.9",
"@angular/cdk": "^9.2.4",
"@angular/common": "~9.1.9",
"@angular/compiler": "~9.1.9",
"@angular/core": "~9.1.9",
"@angular/forms": "~9.1.9",
"@angular/localize": "^9.1.9",
"@angular/platform-browser": "~9.1.9",
"@angular/platform-browser-dynamic": "~9.1.9",
"@angular/router": "~9.1.9",
"@dagrejs/graphlib": "^2.1.4",
"@ng-bootstrap/ng-bootstrap": "^6.1.0",
"@ng-select/ng-select": "^4.0.0",
"@ngx-translate/core": "^12.1.2",
"@ngx-translate/http-loader": "4.0.0",
"@swimlane/ngx-charts": "^14.0.0",
"angular-datatables": "^9.0.2",
"angular-oauth2-oidc": "^9.2.2",
"angular2-uuid": "^1.1.1",
"bootstrap": "^4.5.0",
"chroma-js": "^2.0.6",
"d3": "^5.16.0",
"d3-simple-slider": "^1.7.0",
"datatables.net": "^1.10.21",
"datatables.net-dt": "^1.10.21",
"humanize-duration": "^3.23.0",
"install": "^0.13.0",
"jointjs": "^3.0.4",
"jsrsasign": "^8.0.15",
"moment": "^2.26.0",
"ng-sidebar": "^9.2.1",
"ngx-slick-carousel": "^0.4.6",
"ngx-spinner": "^9.0.2",
"ngx-toastr": "^12.0.1",
"primeicons": "^2.0.0",
"primeng": "^9.1.0",
"retina-dom-to-image": "^2.5.6",
"rxjs": "~6.5.5",
"slick-carousel": "^1.8.1",
"svg-pan-zoom": "^3.6.1",
"tslib": "^1.13.0",
"underscore": "^1.10.2",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.901.7",
"@angular/cli": "^9.1.7",
"@angular/compiler-cli": "~9.1.9",
"@angular/language-service": "~9.1.9",
"@types/d3": "^5.7.2",
"@types/datatables.net": "^1.10.19",
"@types/jasmine": "^3.5.10",
"@types/jasminewd2": "^2.0.8",
"@types/jquery": "^3.3.38",
"@types/node": "^12.11.1",
"codelyzer": "^5.2.2",
"compressing": "^1.5.1",
"concurrently": "^5.2.0",
"fs": "0.0.2",
"jasmine-core": "^3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^4.4.1",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "*",
"karma-jasmine": "^3.1.1",
"karma-jasmine-html-reporter": "^1.5.2",
"mkdirp": "0.5.1",
"ngx-spec": "^2.0.0",
"protractor": "^7.0.0",
"rimraf": "^3.0.2",
"ts-node": "^8.10.1",
"tslint": "^6.1.2",
"typescript": "^3.8.3"
}
}
Когда Я просматриваю приложение, первая и последняя 2 ссылки работают нормально, но не другая группа ссылок ...
Редактировать: Непосредственный переход к любой из 4 страниц работает нормально в первый раз с прямой ссылкой, но зависает при дополнительной навигации, но не на первой или последних 2 страницах на боковой панели.
Edit2:
-У меня есть данные глобального фильтра, но я также использую их на моей странице диагностики c без проблем
-маршрутизатор не показывает никаких аномалий, все события присутствуют до NagiationEnd
-catch в основном. ts: platformBrowserDynami c () .bootstrapModule (AppModule) .catch (err => console.erro r (err)) присутствует, но сообщение оттуда не выводится