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 3746F200C0F for ; Thu, 2 Feb 2017 09:25:57 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 35DEF160B57; Thu, 2 Feb 2017 08:25:57 +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 E44D4160B54 for ; Thu, 2 Feb 2017 09:25:55 +0100 (CET) Received: (qmail 58540 invoked by uid 500); 2 Feb 2017 08:25:54 -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 58527 invoked by uid 99); 2 Feb 2017 08:25:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2017 08:25:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BA40EC1103 for ; Thu, 2 Feb 2017 08:25:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id WdqlVTdnZTuu for ; Thu, 2 Feb 2017 08:25:53 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A74C85FDAA for ; Thu, 2 Feb 2017 08:25:52 +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 D8854E0324 for ; Thu, 2 Feb 2017 08:25:51 +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 8F25F2528B for ; Thu, 2 Feb 2017 08:25:51 +0000 (UTC) Date: Thu, 2 Feb 2017 08:25:51 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12415) Windows build fails if start page is missing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 02 Feb 2017 08:25:57 -0000 [ https://issues.apache.org/jira/browse/CB-12415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849644#comment-15849644 ] ASF GitHub Bot commented on CB-12415: ------------------------------------- Github user daserge commented on the issue: https://github.com/apache/cordova-windows/pull/225 Do not merge yet, on discussion. > Windows build fails if start page is missing > -------------------------------------------- > > Key: CB-12415 > URL: https://issues.apache.org/jira/browse/CB-12415 > Project: Apache Cordova > Issue Type: Bug > Components: Windows > Affects Versions: Master, 4.4.3 > Reporter: Alexander Sorokin > Priority: Minor > Labels: triaged > > Repro: > {noformat} > cordova create foo > rm ./foo/www/index.html > cd foo > cordova platform add windows@https://github.com/apache/cordova-windows > cordova build > {noformat} > Expected: > Build successful > Actual: > {noformat} > Building project: C:\Cordova\foo\platforms\windows\CordovaApp.Windows.jsproj > Configuration : debug > Platform : anycpu > Patching 8.1 in prebuild event... > ls: no such file or directory: C:\Cordova\foo\platforms\windows\www\index.html > grep: no paths given > C:\Cordova\foo\platforms\windows\cordova\prebuild.js:65 > if (shell.grep(reBaseJs, startPageFilePath).length === 0) { > ^ > TypeError: Cannot read property 'length' of null > at patch (C:\Cordova\foo\platforms\windows\cordova\prebuild.js:65:48) > at Object. (C:\Cordova\foo\platforms\windows\cordova\prebuild-81.js:20:1) > at Module._compile (module.js:409:26) > at Object.Module._extensions..js (module.js:416:10) > at Module.load (module.js:343:32) > at Function.Module._load (module.js:300:12) > at Function.Module.runMain (module.js:441:10) > at startup (node.js:139:18) > at node.js:974:3 > C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1250,5): error MSB3073: The command "node "C:\Cor > dova\foo\platforms\windows\\\cordova\\prebuild-81.js"" exited with code 1. [C:\Cordova\foo\platforms\windows\CordovaApp.Windows.j > sproj] > Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with exit code 1 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org