'ngx-source-obfuscation with Angular 13

I find this error when I try to install ngx-source-obfuscation with Angular 13. Help me out to solve this error

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: (myProject)@0.0.0
npm ERR! Found: [email protected]
npm ERR! node_modules/rxjs
npm ERR!   rxjs@"~7.5.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer rxjs@"^6.5.0" from @srag/[email protected]
npm ERR! node_modules/@srag/ngx-source-obfuscation
npm ERR!   dev @srag/ngx-source-obfuscation@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.


Solution 1:[1]

run npm install <dependencyName> --force or npm install <dependencyName> --legacy-peer-deps

This ignores version mismatches and installs the dependency without any issues

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 Eragon_18