plugin-barcodescanner 报错

https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/418

ionic cordova platform rm android
ionic cordova platform rm ios
ionic cordova plugin rm phonegap-plugin-barcodescanner
rm -r plugins
rm -r node_modules
rm package-lock.json

Next remove the phonegap-plugin-barcodescanner of the package.json. Run:

npm install
ionic cordova platform add android

Next do a new build:

ionic cordova run android

Next add the plugin again:

ionic cordova plugin add phonegap-plugin-barcodescanner

上一篇:git报错:Pull is not possible because you have unmerged files解决方法


下一篇:rabbitmq集群安装与配置(故障恢复)