npm Bootstrap安装错误

时间:2017-03-28 08:28:36

标签: git angular npm

我尝试使用npm install --save @ng-bootstrap/ng-bootstrap安装Bootstrap。一旦我按下Enter键,就会出现以下错误(在GIT终端中):

npm WARN enoent ENOENT: no such file or directory, open 'C:\Code\Angular\project                              s\testproject\package.json'
npm WARN @ng-bootstrap/ng-bootstrap@1.0.0-alpha.22 requires a peer of @angular/c                              ore@^2.3.1 || ^4.0.0 but none was installed.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.0-alpha.22 requires a peer of @angular/c                              ommon@^2.3.1 || ^4.0.0 but none was installed.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.0-alpha.22 requires a peer of @angular/f                              orms@^2.3.1 || ^4.0.0 but none was installed.
npm WARN testproject No description
npm WARN testproject No repository field.
npm WARN testproject No README data
npm WARN testproject No license field.

如何解决此错误? 谢谢你的帮助!

0 个答案:

没有答案