Open keygjones opened 3 years ago
I am getting the same error running a angular 8 application. My peer is running a angular 9 and is not getting the same error. So, I don't know if it's a version issue.
Same here... Angular 8 and got this error.
The issue is actually the version dependency not working properly. On an angular 8 project the npm install should install "v8.0.0-beta.4" but it installed version 10. Referred the changelog for deducing it.
I get an ERROR in ../node_modules/@ng-idle/core/lib/eventtargetinterruptsource.d.ts:29:9 - error TS1086: An accessor cannot be declared in an ambient context. at compile time.
Can avoid it by setting the "skipLibCheck": true, in tsconfig , but not a desired setting.
"peerDependencies": { "@angular/animations": "^8", "@angular/cdk": "^8", "@angular/common": "^8", "@angular/core": "^8", "@angular/forms": "^8", "@ngx-translate/core": "^11", "rxjs": "^6" }, "dependencies": { "@ng-idle/core": "10.0.0-beta.1", "@ng-stack/forms": "^1.3.4", "js-uuid": "^0.0.6", "moment": "^2.24.0", "ng-click-outside": "^3.3.0", "tslib": "^2.0.3" }, "devDependencies": { "@babel/generator": "^7.11.6" }
Anyone else had this one?