无法安装cordova-plugin-wkwebview-engine

问题描述 投票:1回答:1

长话短说。执行cordova插件添加cordova-plugin-wkwebview-engine并无法通过注册表获取插件cordova-plugin-wkwebview-engine。可能是连接问题或插件规格不正确。

我在做什么错?

cordova wkwebview
1个回答
0
投票

请尝试以下解决方法:

  1. 执行此命令:sudo npm install git+https://github.com/apache/cordova-plugin-wkwebview-engine.git#master --production --save,如果需要,请输入密码。
  2. 然后尝试插件添加命令:cordova plugin add cordova-plugin-wkwebview-engine
© www.soinside.com 2019 - 2024. All rights reserved.