长话短说。执行cordova插件添加cordova-plugin-wkwebview-engine并无法通过注册表获取插件cordova-plugin-wkwebview-engine。可能是连接问题或插件规格不正确。
我在做什么错?
请尝试以下解决方法:
sudo npm install git+https://github.com/apache/cordova-plugin-wkwebview-engine.git#master --production --save
,如果需要,请输入密码。cordova plugin add cordova-plugin-wkwebview-engine
。