Reputation: 21
Recently there has been an update to the pipeline, where we updated the docker version to 19.03, since the update every pipeline fails. The pipelines fail when they start the testing phase, without actually running the unit tests. They give the following message every time: An unhandled exception occurred: Cannot read property 'Minus' of undefined.
Any idea what can the problem be?
Upvotes: 1
Views: 4325
Reputation: 389
A bit late but got the same error with '@angular/animations' instead of 'Minus' running 'RUN npm ci' during Docker build. The problem occured after upgrading to Angular 15 and the apparent reason was that the new dependency versions were not installed. Calling 'npm i' once to update the versions resolved the issue.
Upvotes: 0
Reputation: 21
Turns out the problem had something to do with the dependencies, specifically with the way they were installed. In the pipeline wasn't specified which version of the build-angular and compiler-cli was supposed to be installed, which caused the problem. After specifying the version numbers explicitly the error was solved.
Upvotes: 1