ng-diff-match-patch
ng-diff-match-patch copied to clipboard
Error TypeError: Cannot read property 'rawMap' of null
Hello, I am using ng-diff-match-patch for a long time with my angular version 4.3. however when I upgraded my angular to version 12. it started giving errors while doing npm i
. Below is the error i am getting.
Error: Error when flattening the source-map "...../node_modules/ng-diff-match-patch/bundles/ng-diff-match-patch.umd.js.map" for "..../node_modules/ng-diff-match-patch/bundles/ng-diff-match-patch.umd.js": TypeError: Cannot read property 'rawMap' of null