'aSourceMapConsumer.eachMapping is not a function

My Angular project working well in the local system but when I am trying to build a docker image to release changes on azure. it stuck in between. and did not allow me to generate image.

I already tried to upgrade the webpack version, but it won't work.



Solution 1:[1]

I also got the same issue with an Angular project. And fixed it by the below solution.

The root cause is the incompatibility between source-map version in the dependencies.

Hope it helps you.

https://github.com/cypress-io/cypress/issues/14587#issuecomment-774081050

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Phat Tran