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.
I have published a fork of the original library that is compatible with Angular 16.
It also uses the latest javascript-obfuscator (4.1.0)
https://github.com/russcarver/ngx-source-obfuscation