在尝试添加插件或进行构建时,我收到以下错误。config.xml 确实存在于该位置
我正在使用的命令是
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git
和
$ phonegap build ios
错误
fs.js:427
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory '/Users/Tiltmac1/Sites/RBG/plantbank- app/platforms/ios/PlantBank/config.xml'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.readFileSync (fs.js:284:15)
at Object.module.exports.parseElementtreeSync (/usr/local/lib/node_modules/phonegap/node_modules/cordova/src/xml-helpers.js:107:27)
at Object.config_parser (/usr/local/lib/node_modules/phonegap/node_modules/cordova/src/config_parser.js:25:20)
at Object.ios_parser (/usr/local/lib/node_modules/phonegap/node_modules/cordova/src/metadata/ios_parser.js:61:19)
at doInstall (/usr/local/lib/node_modules/phonegap/node_modules/cordova/src/plugin.js:131:50)
at /usr/local/lib/node_modules/phonegap/node_modules/cordova/src/plugin.js:152:41
at runInstall (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:192:23)
at possiblyFetch (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:62:9)
at Object.installPlugin (/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/install.js:42:5)