[英]The latest version of the plugin is not installed
I'm using cordova 9.0.0. 我正在使用cordova 9.0.0。 I'm trying to download the latest version of cordova-plugin-crypto-file plugin.
我正在尝试下载最新版本的cordova-plugin-crypto-file插件。 But for some reason the installed version 1.2.1.
但是由于某种原因,已安装的版本为1.2.1。 What could be the reason?
可能是什么原因?
I tried to install the plugin in several ways: 我尝试通过几种方式安装插件:
cordova plugin add cordova-plugin-crypto-file cordova插件添加cordova-plugin-crypto-file
cordova plugin add cordova-plugin-crypto-file@latest cordova插件添加cordova-plugin-crypto-file @ latest
cordova plugin add cordova-plugin-crypto-file@1.4.0 cordova插件添加cordova-plugin-crypto-file@1.4.0
After installing the latest version of the plugin in the ways described above, the previous version 1.2.1 was installed 按照上述方式安装了最新版本的插件后,便安装了以前的版本1.2.1。
You are using the latest version of cordova-plugin-crypto-file which is v1.2.1
. 您正在使用最新版本的cordova-plugin-crypto-file
v1.2.1
。 It happens that the plugin.xml version is v1.2.1
whereas the package.json is v1.4.0
, meaning the plugin.xml
was not updated. 碰巧plugin.xml版本是
v1.2.1
而package.json是v1.4.0
,这意味着未更新plugin.xml
。 You can check your local package.json
file to confirm if you are using the latest and the greatest. 您可以检查本地的
package.json
文件,以确认您使用的是最新版本还是最大版本。
And yes, this version has been updated to work with Cordova 9. 是的,此版本已更新为可与Cordova 9一起使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.