當試圖添加一個插件或做一個構建時,我得到下面的錯誤。 config.xml文件並在該位置Phonegap 3.0命令行沒有這樣的文件或目錄錯誤
存在我使用的命令是
$ 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)