'Angular 12 Content and Map of this Source is not available (only size() is supported)

After upgrading my Angular version to the latest I have the error:

Content and Map of this Source is not available (only size() is supported)

Any helps would be appreciated cause there is not a lot of information about this issue.



Solution 1:[1]

I have solved this problem by installing the 'source-map-support' npm package like so:

npm install source-map-support

Check out this link.

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 Erfan