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 BA2E91021D for ; Wed, 24 Jul 2013 19:33:50 +0000 (UTC) Received: (qmail 97329 invoked by uid 500); 24 Jul 2013 19:33:50 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 97305 invoked by uid 500); 24 Jul 2013 19:33:49 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 97279 invoked by uid 99); 24 Jul 2013 19:33:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2013 19:33:49 +0000 Date: Wed, 24 Jul 2013 19:33:49 +0000 (UTC) From: "Filip Maj (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4322) CLI still not recognizing when sample www project is not available. 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-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718743#comment-13718743 ] Filip Maj commented on CB-4322: ------------------------------- I'll tackle integrating this into cli and plugman's code base as soon as i get a CLA for the above code :) > CLI still not recognizing when sample www project is not available. > ------------------------------------------------------------------- > > Key: CB-4322 > URL: https://issues.apache.org/jira/browse/CB-4322 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Affects Versions: 3.0.0 > Reporter: John M. Wargo > Assignee: Filip Maj > > Still having problems with the CLI not recognizing that it doesn't have a HelloWorld project to use. > C:\Users\i833153\dev>cordova create test > [TypeError: Cannot read property 'length' of undefined] > C:\Users\i833153\dev>cordova -d create test > Creating a new cordova project with name "HelloCordova" and id "io.cordova.hello > cordova" at location "C:\Users\i833153\dev\test" > Using stock cordova hello-world application. > cordova library for "www" already exists. No need to download. Continuing. > Copying stock Cordova www assets into "C:\Users\i833153\dev\test\www" > Error: downloaded www assets in C:\Users\i833153\.cordova\lib\www\cordova\3.0.0\ > www does not contain index.html, or www subdir with index.html > at finalize (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\c > reate.js:114:27) > at C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\create.js:1 > 54:17 > at C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.j > s:47:31 > at Object.module.exports.custom (C:\Users\i833153\AppData\Roaming\npm\node_m > odules\cordova\src\lazy_load.js:57:34) > at Object.lazy_load [as cordova] (C:\Users\i833153\AppData\Roaming\npm\node_ > modules\cordova\src\lazy_load.js:42:24) > at Object.create (C:\Users\i833153\AppData\Roaming\npm\node_modules\cordova\ > src\create.js:148:19) > at Object. (C:\Users\i833153\AppData\Roaming\npm\node_modules\cor > dova\bin\cordova:42:22) > at Module._compile (module.js:456:26) > at Object.Module._extensions..js (module.js:474:10) > at Module.load (module.js:356:32) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira