如何从npm安装ng-table?

时间:2017-05-05 08:19:02

标签: angularjs npm npm-install

我正在尝试使用以下命令从npm安装ng-table package

npm install ng-table --save

我收到此错误日志:

npm WARN package.json moodle-angular-pooc@0.0.0 No repository field.
npm WARN package.json moodle-angular-pooc@0.0.0 No README data
npm ERR! 404 Not Found
npm ERR! 404 
npm ERR! 404 'types/angular' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'ng-table'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Linux 3.16.0-4-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "ng-table" "--save"
npm ERR! cwd /vagrant/shared/moodle/report/angularjspooc
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code E404
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /vagrant/shared/moodle/report/angularjspooc/npm-debug.log
npm ERR! not ok code 0

这听起来像404错误,但我不明白为什么因为有一个npm包和一个github repo。

如何使用ng-table继续安装npm

0 个答案:

没有答案