Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F37910927 for ; Fri, 24 Jan 2014 03:41:01 +0000 (UTC) Received: (qmail 29183 invoked by uid 500); 24 Jan 2014 03:41:00 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 28954 invoked by uid 500); 24 Jan 2014 03:40:50 -0000 Mailing-List: contact dev-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 dev@cordova.apache.org Received: (qmail 28946 invoked by uid 99); 24 Jan 2014 03:40:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jan 2014 03:40:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [173.201.193.108] (HELO p3plsmtpa08-07.prod.phx3.secureserver.net) (173.201.193.108) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jan 2014 03:40:40 +0000 Received: from chiron ([50.47.43.35]) by p3plsmtpa08-07.prod.phx3.secureserver.net with id HfgH1n00J0lXdyA01fgJ3l; Thu, 23 Jan 2014 20:40:18 -0700 Message-ID: From: "dev at watch2web.com" To: References: <775A2C889F574EB6962FC4271318E472@ECPCorp.local> <6CBD3036DE024E9980936911C4809684@ECPCorp.local> Subject: Re: reverted cordova version -- now build fails on HelloCordova Date: Thu, 23 Jan 2014 19:40:17 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.4657 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4913 X-Virus-Checked: Checked by ClamAV on apache.org Thanks to all who responded -- Josh, Braden, and Andrew. Just knowing about node-inspector and to look at the node-cache will surely help me going forward. As it turns out, I think there is a bug in the 3.0.3 CLI. The immediate source of the error is in node_modules/cordova/src/prepare.js -- the platform list passed in includes options, so when the line platforms[p].parser(...) is executed on line 68 with p==--debug,... I'm sure this is fixed in later versions, and I'm not going to risk breaking something else trying to fix it properly myself, so my work-around is to only invoke 'cordova build android' without options, and then hand edit PROJECT_ROOT/platforms/android/cordova/build.bat, appending the build type option to the command there. It's a little ugly, but not inconvenient. I sincerely appreciate the help. Yesterday was a bad day -- I was hit by at least three other "nasty surprise" issues. By evening, I was very tired. Andrew ----- Original Message ----- From: "Josh Soref" To: Sent: Thursday, 23 January, 2014 11:44 Subject: Re: reverted cordova version -- now build fails on HelloCordova Braden wrote: >At a glance, it sounds like your bug might be caused by having a newer >cordova-android cached than 3.0.3 is expecting, causing the build and run >scripts to fail. Try deleting $HOME/.cordova/lib, and recreating the test >project. On Windows, that should be %USERPROFILE%\.cordova\lib In general, installing node-inspector is the right starting point: npm install node-inspector node node_modules\node-inspector\bin\inspector.js Then in another window, node --debug-brk cordova-cli\bin\cordova And then use Chrome to load the url that inspector.js references. --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.