[ https://issues.apache.org/jira/browse/CB-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Kotikov updated CB-9587: --------------------------------- Description: *Repro steps:* cordova create test && cd test cordova platform add android cordova run browser *Expected:* Command fails, since browser platform isn't added, with some _meaningful message_. *Actual:* {noformat} cp: copyFileSync: could not write to dest file (code=ENOENT):c:\apps\test\platforms\browser\config.xml mkdir: no such file or directory: c:\apps\test\platforms\browser shell.js: internal error Error: ENOENT, no such file or directory 'c:\apps\test\platforms\browser\www\css' at Error (native) at Object.fs.mkdirSync (fs.js:747:18) at C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\cp.js:174:14 at Array.forEach (native) at Object._cp (C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\cp.js:157:11) at Object.cp (C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\common.js:186:23) at browser_parser.update_www (C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\browser_parser.js:71:11) at C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:100:20 at Array.map (native) at C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:74:40 {noformat} was: *Repro steps:* cordova create test && cd test cordova platform add android cordova run browser *Expected:* Command fails, since browser platform isn't added, with some meaningful message. *Actual:* {noformat} cp: copyFileSync: could not write to dest file (code=ENOENT):c:\apps\test\platforms\browser\config.xml mkdir: no such file or directory: c:\apps\test\platforms\browser shell.js: internal error Error: ENOENT, no such file or directory 'c:\apps\test\platforms\browser\www\css' at Error (native) at Object.fs.mkdirSync (fs.js:747:18) at C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\cp.js:174:14 at Array.forEach (native) at Object._cp (C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\cp.js:157:11) at Object.cp (C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\common.js:186:23) at browser_parser.update_www (C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\browser_parser.js:71:11) at C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:100:20 at Array.map (native) at C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:74:40 {noformat} > 'cordova run browser' without browser platform added fails with weird error. > ---------------------------------------------------------------------------- > > Key: CB-9587 > URL: https://issues.apache.org/jira/browse/CB-9587 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib > Affects Versions: 5.3.2 > Reporter: Vladimir Kotikov > Assignee: Vladimir Kotikov > Priority: Minor > > *Repro steps:* > cordova create test && cd test > cordova platform add android > cordova run browser > *Expected:* > Command fails, since browser platform isn't added, with some _meaningful > message_. > *Actual:* > {noformat} > cp: copyFileSync: could not write to dest file > (code=ENOENT):c:\apps\test\platforms\browser\config.xml > mkdir: no such file or directory: c:\apps\test\platforms\browser > shell.js: internal error > Error: ENOENT, no such file or directory > 'c:\apps\test\platforms\browser\www\css' > at Error (native) > at Object.fs.mkdirSync (fs.js:747:18) > at > C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\cp.js:174:14 > at Array.forEach (native) > at Object._cp > (C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\cp.js:157:11) > at Object.cp > (C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\common.js:186:23) > at browser_parser.update_www > (C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\browser_parser.js:71:11) > at > C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:100:20 > at Array.map (native) > at > C:\Users\nikhilkh\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:74:40 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org