首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >angular dual列表框的Npm install命令不起作用

angular dual列表框的Npm install命令不起作用
EN

Stack Overflow用户
提问于 2021-04-30 18:49:32
回答 1查看 67关注 0票数 0

我尝试使用npm i angular-dual-listbox --save命令,但得到一堆错误,指出版本不匹配,尽管我有8.2.14版本。参考文章:npmjs。错误日志如下:

代码语言:javascript
复制
C:\GUNEET KAUR\PROJ_2.0\cpd_repository\ANGULAR_CODE_BASE>npm i angular-dual-listbox --save
npm WARN @ng-bootstrap/ng-bootstrap@1.0.0-beta.6 requires a peer of @angular/core@^4.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.0-beta.6 requires a peer of @angular/common@^4.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.0-beta.6 requires a peer of @angular/forms@^4.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@4.4.1 requires a peer of @angular/common@~4.4.6 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@4.4.1 requires a peer of @angular/compiler@~4.4.6 but none is installed. You must install peer dependencies yourself.npm WARN angular-datatables@4.4.1 requires a peer of @angular/core@~4.4.6 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@4.4.1 requires a peer of @angular/platform-browser@~4.4.6 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@4.4.1 requires a peer of @angular/platform-browser-dynamic@~4.4.6 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@4.4.1 requires a peer of core-js@~2.4.1 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@4.4.1 requires a peer of rxjs@~5.4.2 but none is installed. You must install peer dependencies yourself.
npm WARN angular-datatables@4.4.1 requires a peer of zone.js@~0.8.16 but none is installed. You must install peer dependencies yourself.
npm WARN angular-user-idle@2.2.4 requires a peer of @angular/common@^6.0.0 || ^10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-user-idle@2.2.4 requires a peer of @angular/core@^6.0.0 || ^10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.0.0-beta.2 requires a peer of popper.js@^1.12.3 but none is installed. You must install peer dependencies yourself.
npm WARN d3-ng2-service@1.23.3 requires a peer of @angular/core@^5.0 || ^4.0 || ^2.0 but none is installed. You must install peer dependencies yourself.
npm WARN ng2-popover@0.0.14 requires a peer of @angular/core@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-daterangepicker@2.1.0 requires a peer of @angular/common@^6.0.0-rc.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-daterangepicker@2.1.0 requires a peer of @angular/core@^6.0.0-rc.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-daterangepicker@2.1.0 requires a peer of bulma@^0.7.1 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-daterangepicker@2.1.0 requires a peer of date-fns@^1.29.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-dual-listbox@6.0.0 requires a peer of @angular/common@>=10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-dual-listbox@6.0.0 requires a peer of @angular/core@>=10.0.0 but none is installed. You must install peer dependencies yourself.
npm ERR! code E401
npm ERR! Unable to authenticate, need: Basic realm="Artifactory Realm"
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-04-30 19:08:18

尝试安装与您的angular版本兼容的4.x版本

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

https://stackoverflow.com/questions/67332644

复制
相关文章

相似问题

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