简体   繁体   English

未安装最新版本的插件

[英]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.1package.jsonv1.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.

相关问题 cordova-plugin-background-download未安装最新版本 - cordova-plugin-background-download not installed latest version 最新版本的phonegap-plugin-push的未满足项目要求 - Unmet project requirements for latest version of phonegap-plugin-push 插件对讲更新到最新版本 cordova 在构建/运行时出错 - Plugin intercom update to latest version cordova error at build/run 如何将phonegap 2.5的插件升级到最新版本3.1? 将额外的插件添加到phonegap的流程是什么 - How to upgrade a plugin for phonegap 2.5 to the latest version 3.1? and what is flow for adding an additional plugin to phonegap Cordova 插件问题 CordovaError:已安装插件的版本:“cordova-plugin-file@4.3.3”不满足依赖插件要求 - Cordova plugin problems CordovaError: Version of installed plugin: "cordova-plugin-file@4.3.3" does not satisfy dependency plugin requirement 依赖插件版本错误 - 将 phonegap-push 插件安装到已经安装了 firebase-analytics 插件的现有 Ionic 应用程序时 - Dependency plugin version error - When installing phonegap-push plugin to an existing Ionic app that has firebase-analytics plugin already installed Apache Cordova Facebook插件(最新版本/当前主版本)在初始化时崩溃了我的Android应用 - Apache Cordova Facebook Plugin (latest version/current master) crashes my android app while initializing 当我使用CLI命令在本地通知插件上添加最新版本时,构建失败,退出代码为8 - Build fails when I add the latest version on local notification plugin using CLI Command failed with exit code 8 科尔多瓦没有更新到最新版本 - cordova not updating to latest version 未安装 Ionic Firebase 插件 - Ionic Firebase Plugin not installed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM