Github user TimBarham commented on the pull request:
https://github.com/apache/cordova-lib/commit/07271a5c6162c0b2bee55e1ea23f91ebdfbbb34c#commitcomment-13037479
Hey Vlad - with this change in I get the following error trying to add the
`browser` platform to a project:
```
Adding browser project...
Running command: cmd "/s /c
"C:\Users\timba\.cordova\lib\npm_cache\cordova-browser\4.0.0\package\bin\create.bat
D:\CordovaApps\blank\platforms\browser io.cordova.hellocordova HelloCordova""
Creating Browser project. Path: platforms\browser
Parsing D:\CordovaApps\blank\platforms\browser\config.xml failed
Error: ENOENT, no such file or directory
'D:\CordovaApps\blank\platforms\browser\config.xml'
at Error (native)
at Object.fs.openSync (fs.js:500:18)
at Object.fs.readFileSync (fs.js:352:15)
at Object.module.exports.parseElementtreeSync
(D:\git\cordova-lib\cordova-lib\src\util\xml-helpers.js:118:27)
at Object.ConfigParser
(D:\git\cordova-lib\cordova-lib\src\configparser\ConfigParser.js:33:24)
at new PlatformApiPoly
(D:\git\cordova-lib\cordova-lib\src\platforms\PlatformApiPoly.js:68:20)
at Object.getPlatformApi
(D:\git\cordova-lib\cordova-lib\src\platforms\platforms.js:58:23)
at
D:\git\cordova-lib\cordova-lib\src\platforms\PlatformApiPoly.js:102:14
at _fulfilled
(D:\git\cordova-lib\cordova-lib\node_modules\q\q.js:787:54)
at self.promiseDispatch.done
(D:\git\cordova-lib\cordova-lib\node_modules\q\q.js:816:30)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]