Cordova error: Failed to fetch plugin ionic-plugin-keyboard@1.1.4 via registry

Cordova error: Failed to fetch plugin ionic-plugin-keyboard@1.1.4 via registry

我正在按照此处的教程进行操作,但在尝试 运行 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[=10=].6.6\plugin.typescript.os\npm\nod
e_modules\meteor\promise\node_modules\meteor-promise\promise_server.js:190
      throw error;
      ^
ExitWithCode:1

仔细阅读报错信息可以发现,错误是由于插件的版本号不正确造成的:

Error: version not found: ionic-plugin-keyboard@1.1.4

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

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