2015-09-26 38 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