热更新本地测试插件cordova-hot-code-push-local-dev-addon删除报错问题

在cordova 7.0以后的版本,删除cordova-hot-code-push-local-dev-addon插件会爆以下错误

Cannot find module '../plugman/platforms/ios'

 

解决办法

https://github.com/nordnet/cordova-hot-code-push/pull/296/commits/3d3a43635d0dd63bee611cdf3b103533e1cc9ffb?diff=split#diff-cf7c3f569027d8107d0891157c0feee1

 

修改 项目/plugins/cordova-hot-code-push-local-dev-addon/scripts/lib 目录下的 iosWKWebViewEngineSupport.js 文件