【发布时间】:2015-12-23 22:51:35
【问题描述】:
我有一个流星应用程序,它使用了几个从 github 安装的 cordova 插件(因为它们不在注册表中)。该应用在 1.1.0.3 下运行良好,但在流星 1.2 中,当我尝试运行该应用时出现错误。
根据更新的instructions,我尝试删除并重新添加插件,如下所示:
meteor add cordova:com.cordova.plugins.sms@https://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 com.verso.cordova.clipboard@https://github.com/VersoSolutions/CordovaClipboard.git to Cordova project:
Cordova error: Failed to fetch plugin com.verso.cordova.clipboard@https://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
我是不是做错了什么?
【问题讨论】:
标签: cordova meteor cordova-plugins