很遗憾,我用ios www目录替换了www浏览器目录。现在我的插件无法正常工作。每当我尝试通过ipa访问我的应用程序中的相机时。表示其他浏览器不支持的相机出现问题。我也尝试删除插件和平台以重新安装它们,但是无论我做什么我都会出错。 搜索了几个小时,但没有找到解决方法
unhandledPromiseRejectionWarning: Error: Unhandled "error" event. (Parsing /Users/macpro/desktop/mApp/config.xml failed)
at EventEmitter.emit (events.js:186:19)
at EventEmitter.module.exports.emit (/usr/local/lib/node_modules/phonegap/node_modules/cordova-common/src/events.js:71:17)
at new ConfigParser (/usr/local/lib/node_modules/phonegap/node_modules/cordova-common/src/ConfigParser/ConfigParser.js:34:16)
at getScriptsFromConfigXml (/usr/local/lib/node_modules/phonegap/node_modules/cordova-lib/src/hooks/scriptsFinder.js:107:21)
at getApplicationHookScripts (/usr/local/lib/node_modules/phonegap/node_modules/cordova-lib/src/hooks/scriptsFinder.js:56:17)
at Object.getHookScripts (/usr/local/lib/node_modules/phonegap/node_modules/cordova-lib/src/hooks/scriptsFinder.js:40:16)
at HooksRunner.fire (/usr/local/lib/node_modules/phonegap/node_modules/cordova-lib/src/hooks/HooksRunner.js:57:33)
at Function.list (/usr/local/lib/node_modules/phonegap/node_modules/cordova-lib/src/cordova/plugin/list.js:29:24)
at /usr/local/lib/node_modules/phonegap/node_modules/cordova-lib/src/cordova/plugin/index.js:94:35
at _fulfilled (/usr/local/lib/node_modules/phonegap/node_modules/cordova-lib/node_modules/q/q.js:787:54)
(node:8017) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8017) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.