首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ngx源-角为13的模糊化

ngx源-角为13的模糊化
EN

Stack Overflow用户
提问于 2022-04-07 07:07:47
回答 2查看 139关注 0票数 -1

当我试图安装角度13的ngx-source-obfuscation时,我发现了这个错误。

代码语言:javascript
复制
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: rxjs@7.5.5
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/ngx-source-obfuscation@2.0.0
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.
EN

回答 2

Stack Overflow用户

发布于 2022-04-08 14:33:41

运行npm install <dependencyName> --forcenpm install <dependencyName> --legacy-peer-deps

这会忽略版本不匹配,并在没有任何问题的情况下安装依赖项。

票数 0
EN

Stack Overflow用户

发布于 2022-07-07 16:26:16

我有同样的issue.In --图书馆的npm页面,文档告诉我们,ngc源代码混淆的上一个版本是两年前出版的。文档再次告诉我们,它适合于角8或更高的情况。是的,我接受它适合与角8或更高,但从那时起角释放主要版本。在我看来,图书馆的主人从来没有更新过他的图书馆。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71777732

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档