Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 33097200CB8 for ; Sat, 1 Jul 2017 23:18:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 27C4A160BEA; Sat, 1 Jul 2017 21:18:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6DCFD160BDF for ; Sat, 1 Jul 2017 23:18:05 +0200 (CEST) Received: (qmail 33024 invoked by uid 500); 1 Jul 2017 21:18:04 -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 33013 invoked by uid 99); 1 Jul 2017 21:18:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jul 2017 21:18:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 149C91A0158 for ; Sat, 1 Jul 2017 21:18:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id W8WRDRZaWix0 for ; Sat, 1 Jul 2017 21:18:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0529E5F341 for ; Sat, 1 Jul 2017 21:18:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AF603E0069 for ; Sat, 1 Jul 2017 21:18:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0554020D11 for ; Sat, 1 Jul 2017 21:18:00 +0000 (UTC) Date: Sat, 1 Jul 2017 21:18:00 +0000 (UTC) From: "gurudatta m (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-12976) Error: Cannot read property 'length' of undefined MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 01 Jul 2017 21:18:06 -0000 gurudatta m created CB-12976: -------------------------------- Summary: Error: Cannot read property 'length' of undefined Key: CB-12976 URL: https://issues.apache.org/jira/browse/CB-12976 Project: Apache Cordova Issue Type: Bug Affects Versions: 7.0.1 Environment: Windows, android Reporter: gurudatta m Priority: Blocker Getting below error when doing a cordova build. Error: Cannot read property 'length' of undefined Details: Environment: cordova version 7.0.1 java version: jdk1.8.0_60 npm version: 3.10.10 node version: v6.11.0 Build output: No scripts found for hook "before_build". No scripts found for hook "before_prepare". Checking config.xml and package.json for saved platforms that haven't been added to the project Config.xml and package.json platforms are the same. No pkg.json modification. Package.json and config.xml platforms are different. Updating config.xml with most current list of platforms. PlatformApi successfully found for platform android Checking config.xml for saved plugins that haven't been added to the project Checking for any plugins added to the project that have not been installed in android platform No differences found between plugins added to project and installed in android platform. Continuing... Generating platform-specific config.xml from defaults for android at C:\Users\username\Documents\mobileapp\MyApp\ionicapp\platforms\android\res\xml\config.xml Merging project's config.xml into platform-specific android config.xml Merging and updating files from [www, platforms\android\platform_www] to platforms\android\assets\www Wrote out android application name "MyApp" to C:\Users\username\Documents\mobileapp\MyApp\ionicapp\platforms\android\res\values\strings.xml android-versionCode not found in config.xml. Generating a code based on version in config.xml (0.0.1): 1 Wrote out Android package name "io.ionic.starter" to C:\Users\username\Documents\mobileapp\MyApp\ionicapp\platforms\android\src\io\ionic\starter\MainActivity.java Updating icons at platforms\android\res Updating splash screens at platforms\android\res This app does not have additional resource files defined Prepared android project successfully No scripts found for hook "after_prepare". No scripts found for hook "before_compile". ANDROID_HOME=C:\Users\username\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60 Error: Cannot read property 'length' of undefined -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org