我正在尝试安装angular2-multiselect:https://github.com/igariok1990/angular2-multiselect
我在typings.json中使用了所有第三方插件:
{
"ambientDependencies": {
"bootstrap.v3.datetimepicker": "github:DefinitelyTyped/DefinitelyTyped/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker.d.ts#a83eb4912e674b3492ce77567337642a7e6c584f",
"moment": "github:DefinitelyTyped/DefinitelyTyped/moment/moment.d.ts#1be6a281906e5cd179a97c86bd58ebf9cdc9c6a5",
"moment-node": "github:DefinitelyTyped/DefinitelyTyped/moment/moment-node.d.ts#b090bcf9ba9f756ec8ff53e7707269729172a325",
"jquery": "github:DefinitelyTyped/DefinitelyTyped/jquery/jquery.d.ts#661fc869669af796c6048483e999dce5732eed72",
"bootstrap.multiselect": "github:ravendb/ravendb/Raven.Studio.Html5/Scripts/typings/bootstrap.multiselect/bootstrap.multiselect.d.ts#f05d3b934bcbc22ab5e87fad4a81e4309bde6534",
"angular2-multiselect": "github:igariok1990/angular2-multiselect/src/app/components/multiselect.ts#d075c9ff8c2f904cc3f122d41276619d8b2886f9"
}
}
但是当我编写npm install时会抛出错误:无法解析(slug to multiselect.d.ts)
答案 0 :(得分:1)
似乎NPM中没有模块angular2-multiselect
。
查看请求https://www.npmjs.com/search?q=angular2-multiselect
的结果:
抱歉,没有结果'angular2-multiselect'