[ https://issues.apache.org/jira/browse/CB-9645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile resolved CB-9645. ------------------------------ Resolution: Fixed it now says > The platform "browser" does not appear to have been added to this project. > "cordova run browser" doesn't show an easy to understand error message when > the browser platform is not installed > ----------------------------------------------------------------------------------------------------------------- > > Key: CB-9645 > URL: https://issues.apache.org/jira/browse/CB-9645 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli > Affects Versions: 5.3.2 > Environment: Windows 10 entreprise > It's actually CLI 5.3.1 but it doesn't appear on the Affects versions list > Reporter: Diego Geffner > Priority: Minor > > I'd be nicer to get a nice error message. > $ cordova run browser > cp: copyFileSync: could not write to dest file > (code=ENOENT):c:\my_project\platforms\browser\config.xml > mkdir: no such file or directory: c:\my_project\platforms\browser > shell.js: internal error > Error: ENOENT, no such file or directory > 'c:\my_project\platforms\browser\www\css' > at Error (native) > at Object.fs.mkdirSync (fs.js:747:18) > at > c:\Users\my_user\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\my_user\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\cp.js:157:11) > at Object.cp > (c:\Users\my_user\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\my_user\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\browser_parser.js:71:11) > at > c:\Users\my_user\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:100:20 > at Array.map (native) > at > c:\Users\my_user\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:74:40 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org