Angular zone. js: 199 Uncaught TypeError: Невозможно прочитать свойство 'nodeName' из null - PullRequest
0 голосов
/ 24 апреля 2020
zone.js:199 Uncaught TypeError: Cannot read property 'nodeName' of null
at Object.Q [as create] (nouislider.min.js:3)
at HTMLDocument.<anonymous> (index.js:10)
at j (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at I (jquery.min.js:2)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:498)
at invokeTask (zone.js:1744)

Когда я открываю сайт с помощью консоли проверки в моем браузере, она отображается как Зона. js Показывается как "отладчик".

var previousTask = _currentTask;
        _currentTask = task;
        _currentZoneFrame = { parent: _currentZoneFrame, zone: this };
        try {
            if (task.type == macroTask && task.data && !task.data.isPeriodic) {
                task.cancelFn = undefined;
            }
            try {
                return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);
            }
            catch (error) {
                if (this._zoneDelegate.handleError(this, error)) {
                    throw error;
                }
            }
        }

Здесь файл Package. json файл, который я использую свой проект.

  "scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"build-prod": "ng build --prod --configuration production",
"build-qa": "ng build --prod --configuration qa",
"serve-QA": "ng serve --configuration qa",
"serve-PROD": "ng serve --configuration production"}

"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/cdk": "^7.3.5",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/forms": "~7.2.0",
"@angular/material": "^7.3.7",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"@kolkov/angular-editor": "^0.14.6",
"@progress/kendo-angular-buttons": "^4.0.0",
"@progress/kendo-angular-dateinputs": "2 - 3",
"@progress/kendo-angular-dropdowns": "2 - 3",
"@progress/kendo-angular-excel-export": "1 - 2",
"@progress/kendo-angular-grid": "^3.14.4",
"@progress/kendo-angular-inputs": "2 - 5",
"@progress/kendo-angular-intl": "^1.0.0",
"@progress/kendo-angular-l10n": "^1.1.0",
"@progress/kendo-angular-popup": "^2.0.0",
"@progress/kendo-data-query": "^1.0.0",
"@progress/kendo-drawing": "^1.0.0",
"@progress/kendo-theme-default": "latest",
"bootstrap": "^4.3.1",
"ckeditor4-angular": "^1.0.0-beta.2",
"core-js": "^2.5.4",
"jquery": "^3.4.1",
"ng-multiselect-dropdown": "^0.2.5",
"ng-pick-datetime": "^7.0.0",
"ng2-alt-summernote": "^2.0.0",
"ng2-pdf-viewer": "^5.3.4",
"ngx-bootstrap": "^4.3.0",
"ngx-editor": "^4.1.0",
"ngx-toastr": "^10.2.0",
"rxjs": "~6.3.3",
"rxjs-compat": "^6.3.3",
"summernote": "^0.8.12",
"tslib": "^1.9.0",
"zone.js": "~0.8.26"}

"devDependencies": {
"@angular-devkit/build-angular": "~0.13.0",
"@angular/cli": "~7.3.1",
"@angular/compiler-cli": "~7.2.0",
"@angular/language-service": "~7.2.0",
"@types/node": "~8.9.4",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.2.2"}

Error => Angular - TypeError: Невозможно прочитать свойство 'nodeName' из null. Я не знаю в чем проблема. Как я могу решить эту ошибку в angular7?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...