你能帮我解决这个错误吗?这是我的 package.json 错误,我不断收到此错误:
node_modules/ngx-daterangepicker-material/daterangepicker.component.d.ts(59,9) 中的错误:错误 TS1086:无法在环境上下文中声明访问器。
"@agm/core": "^1.0.0-beta.7",
"@angular/animations": "~8.0.3",
"@angular/cdk": "^8.1.1",
"@angular/common": "~8.0.3",
"@angular/compiler": "~8.0.3",
"@angular/core": "~8.0.3",
"@angular/forms": "~8.0.3",
"@angular/material": "^8.1.1",
"@angular/material-moment-adapter": "^8.1.1",
"@angular/platform-browser": "~8.0.3",
"@angular/platform-browser-dynamic": "~8.0.3",
"@angular/router": "~8.0.3",
"@fortawesome/angular-fontawesome": "^0.4.0",
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@syncfusion/ej2-angular-calendars": "^17.4.51",
"@types/jquery": "^3.3.35",
"acorn": "^6.4.1",
"angular-hammer": "^2.2.0",
"angular-svg-icon": "^8.0.0",
"bootstrap": "^4.3.1",
"mat-range-datepicker": "^1.0.5",
"moment": "^2.24.0",
"ng2-datepicker": "^2.3.1",
"ng2-tooltip-directive": "^2.9.20",
"ngx-daterangepicker-material": "^2.2.1",
"ngx-drag-scroll": "^8.0.0-beta.2",
"ngx-infinite-scroll": "^8.0.2",
"ngx-material-timepicker": "^5.5.1",
"popper.js": "^1.15.0",
"pretty-checkbox": "^3.0.3",
"rxjs": "~6.4.0",
"tslib": "^1.11.1",
"xlsx": "^0.15.6",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.800.6",
"@angular/cli": "~8.0.6",
"@angular/compiler-cli": "~8.0.3",
"@angular/language-service": "~8.0.3",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "^5.2.2",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.5.3",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.15.0",
"typescript": "~3.4.3"
}
``
thank you