更新到cordova 6.4.0后出错

时间:2016-11-07 16:49:20

标签: android ios cordova meteor

我有一个在cordova 6.3.1中运行的项目,一切正常。 添加phonegap-plugin-push后,我开始遇到一些问题

%% Plugin doesn't support this project's cordova version. cordova: 6.3.1, failed version requirement: >=6.4.0
%% Skipping 'phonegap-plugin-push' for android                                  
%% Plugin doesn't support this project's cordova version. cordova: 6.3.1, failed version requirement: >=6.4.0
%% Skipping 'phonegap-plugin-push' for ios   

所以我将cordova更新到6.4.0。 (meteor add cordova:cordova@6.4.0) 现在我遇到了这些问题

=> Errors executing Cordova commands:                                           

   While adding plugin cordova@6.4.0 to Cordova project:                        
   Cordova error: Cannot find plugin.xml for plugin "package". Please try       
   adding it again.
   (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.)

/Users/diegodedieu/.meteor/packages/meteor-tool/.1.4.2.tjodye++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/runtime/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:190
  throw error;
  ^
ExitWithCode:1

我该如何解决这个问题?

0 个答案:

没有答案