2015-09-26 55 views
0

我有一个meteor应用程序,它使用几个从github安装的cordova插件(因为它们不在注册表中)。该应用在1.1.0.3下工作正常,但在流星1.2中,当我尝试运行该应用时出现错误。从github url安装cordova插件时出错(流星1.2)

继更新instructions,我试着删除和重新添加这样的插件:

meteor add cordova:[email protected]://github.com/cordova-sms/cordova-sms-plugin.git#17c4da078f6c0d9f762ac10f5015440ee1c81d07 

引用提交存在,但是当我再运行meteor run android-device我得到这个错误:

npm ERR! addLocal Could not install /var/folders/5x/mffg5c9j3_1c6cbst5p82tkr0000gn/T/npm-2296-a0ad1527/git-cache-f63007629e41/03fe48b62411cbff22229ca13cc3ac8b282f7945 
npm ERR! addLocal Could not install /var/folders/5x/mffg5c9j3_1c6cbst5p82tkr0000gn/T/npm-2296-a0ad1527/git-cache-739cb14fc690/03fe48b62411cbff22229ca13cc3ac8b282f7945 
=> Errors executing Cordova commands:            

    While adding plugin [email protected]://github.com/VersoSolutions/CordovaClipboard.git to Cordova project: 
    Cordova error: Failed to fetch plugin [email protected]://github.com/VersoSolutions/CordovaClipboard.git via 
    registry. 
    Probably this is either a connection problem, or plugin spec is incorrect. 
    Check your connection and plugin name/version/URL. 
    Error: EISDIR, read 
    (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.) 

ExitWithCode:1 

我做错了什么?

回答

0

看起来像它的a known bug在目前的版本(1.2.0.1)和解决方法是使用.meteor/cordova-plugins旧格式:

[email protected]://github.com/cordova-sms/cordova-sms-plugin/tarball/17c4da078f6c0d9f762ac10f5015440ee1c81d07