Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56C97105D9 for ; Thu, 3 Sep 2015 07:16:46 +0000 (UTC) Received: (qmail 90404 invoked by uid 500); 3 Sep 2015 07:16:46 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 90370 invoked by uid 500); 3 Sep 2015 07:16:46 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 90342 invoked by uid 99); 3 Sep 2015 07:16:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2015 07:16:46 +0000 Date: Thu, 3 Sep 2015 07:16:46 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-9587) 'cordova run browser' without browser platform added fails with weird error. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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