ERROR in node_modules/apollo-angular/Apollo.d.ts(26,17)

886 Views Asked by At

I am working on Angular 7 project and the application is deployed in Azure App Services and Pipeline for the same in on Azure DevOps. It is basically CI/CD. Everything was fine, branch code merging (Code Integration) and deployment (Code Deployment - pipeline) but suddenly I am getting ERROR in node_modules/apollo-angular/Apollo.d.ts(26,17): error TS1086: An accessor cannot be declared in an ambient context this error. Could somebody help me here to understand and solve the issue?

Apollo Angular version - 1.3.0

Versions

1

There are 1 best solutions below

2
On

I encountered the same error. I was using [email protected].

my way was like this

npm uninstall apollo-angular 
npm install [email protected]

i just got the minor version of apollo-angular down