如何更新流星项目中的cordova-plugin-device? [英] How to update cordova-plugin-device in my meteor project?
问题描述
运行流星项目时,出现以下警告:
When i run my meteor project, i have this Warning:
警告:尝试安装插件cordova-plugin-device@0.3.0,但是 它的最低版本应为1.1.1,以确保与 当前平台版本.安装最小 版本,为方便起见,但您应该调整依赖关系.
WARNING: Attempting to install plugin cordova-plugin-device@0.3.0, but it should have a minimum version of 1.1.1 to ensure compatibility with the current platform versions. Installing the minimum version for convenience, but you should adjust your dependencies.
然后,我出现此错误:
I20160401-19:50:43.017(2)? E/MeteorWebApp(19633): com.meteor.webapp.WebAppException:跳过下载新版本 因为Cordova平台版本或插件版本已更改 并可能不兼容
I20160401-19:50:43.017(2)? E/MeteorWebApp(19633): com.meteor.webapp.WebAppException: Skipping downloading new version because the Cordova platform version or plugin versions have changed and are potentially incompatible
如何更新cordova-plugin-device插件?
How to update cordova-plugin-device plugin ?
推荐答案
在Meteor项目文件夹.meteor中 创建一个文件cordova-plugins并插入lineova-plugin-device@1.1.1 ... 流星将使用该版本进行重建
In Meteor project folder .meteor create a file cordova-plugins and insert the line cordova-plugin-device@1.1.1... meteor will rebuild with that version
这篇关于如何更新流星项目中的cordova-plugin-device?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!