You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Diego Geffner (JIRA)" <ji...@apache.org> on 2015/09/11 20:48:47 UTC

[jira] [Created] (CB-9645) "cordova run browser" doesn't show an easy to understand error message when the browser platform is not installed

Diego Geffner created CB-9645:
---------------------------------

             Summary: "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: 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org