在流星建设期间:meteor build --directory ..\outputdir --server myserver.tk:3232
我有错误,因为插件phonegap-plugin-push@1.7.2在 cordova插件添加的简单cordova项目中安装时需要 - 变量SENDER_ID =值 phonegap-plugin-push --variable SENDER_ID =" XXXXXXX" :
=> Errors executing Cordova commands:
While adding plugin phonegap-plugin-push@1.7.2 to Cordova project:
Cordova error: Variable(s) missing (use: --variable SENDER_ID=value).
(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.)
如何在Meteor中逃避此类错误?
答案 0 :(得分:2)
然后您需要包含在您的移动配置中:
App.configurePlugin('phonegap-plugin-push', {
SENDER_ID: 'xxx'
});