Cordova错误:无法通过注册表获取插件ionic-plugin-keyboard@1.1.4

时间:2017-06-12 14:05:06

标签: angular cordova meteor ionic2 angular2-meteor

我在这里遵循这个教程,当我试图运行android时出现以下错误。互联网还可以。 https://angular-meteor.com/tutorials/whatsapp2/meteor/setup

C:\Work\whatsapp>meteor run android
[[[[[ C:\Work\whatsapp ]]]]]

=> Started proxy.
=> Started MongoDB.
Subproject Path: CordovaLibns                -
Subproject Path: CordovaLibns                [=======                   ] 25% 17.2s
=> Errors executing Cordova commands:

   While adding plugin ionic-plugin-keyboard@1.1.4 to Cordova project:
   Cordova error: Failed to fetch plugin ionic-plugin-keyboard@1.1.4 via registry.
   Probably this is either a connection problem, or plugin spec is incorrect.
   Check your connection and plugin name/version/URL.
   Error: version not found: ionic-plugin-keyboard@1.1.4
   (If the error message contains suggestions for a fix, note that this may not apply to the
   Meteor integration. You can try running again with the --verbose option to help diagnose
   the issue.)

C:\Users\Nick\AppData\Local\.meteor\packages\barbatus_typescript\0.6.6\plugin.typescript.os\npm\nod
e_modules\meteor\promise\node_modules\meteor-promise\promise_server.js:190
      throw error;
      ^
ExitWithCode:1

1 个答案:

答案 0 :(得分:3)

如果您仔细阅读错误消息,可以发现错误来自插件的错误版本号:

  

错误:未找到版本:ionic-plugin-keyboard@1.1.4

尝试使用最新版本的ionic-plugin-keyboard @ 2.2.1

您可以在此处查看发布版本:https://github.com/ionic-team/ionic-plugin-keyboard/releases