cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9587) 'cordova run browser' without browser platform added fails with weird error.
Date Thu, 03 Sep 2015 07:16:46 GMT

    [ https://issues.apache.org/jira/browse/CB-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728605#comment-14728605
] 

ASF GitHub Bot commented on CB-9587:
------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-lib/pull/293


> '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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message