From issues-return-92571-archive-asf-public=cust-asf.ponee.io@cordova.apache.org Tue Feb 13 15:41:10 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E972F18067B for ; Tue, 13 Feb 2018 15:41:09 +0100 (CET) Received: (qmail 35946 invoked by uid 500); 13 Feb 2018 14:41:09 -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 35935 invoked by uid 99); 13 Feb 2018 14:41:08 -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; Tue, 13 Feb 2018 14:41:08 +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 6BF181A0249 for ; Tue, 13 Feb 2018 14:41:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.011 X-Spam-Level: X-Spam-Status: No, score=-101.011 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id z64nS0FbpXBM for ; Tue, 13 Feb 2018 14:41:03 +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 4A7755F3CD for ; Tue, 13 Feb 2018 14:41:02 +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 03DE9E0294 for ; Tue, 13 Feb 2018 14:41: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 5AFD52410E for ; Tue, 13 Feb 2018 14:41:00 +0000 (UTC) Date: Tue, 13 Feb 2018 14:41:00 +0000 (UTC) From: "Jan Piotrowski (Sujan) (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12808) 'Error: AppPackages doesn't exists` when building for windows@5.0.0 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-12808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16362417#comment-16362417 ] Jan Piotrowski (Sujan) commented on CB-12808: --------------------------------------------- And now I know how to fix it: https://forum.ionicframework.com/t/building-windows-10-app/92416/9 The important bit is to set the `VSINSTALLDIR` ENV var to the path with `Community`. This helps cordova-windows 5.0.0 find the correct MSBuild to build your app. (Running the `build` command with `--verbose` can also show which one it uses - if the folder contains `BuildTools` it is using the wrong one) Can someone confirm please? > 'Error: AppPackages doesn't exists` when building for windows@5.0.0 > ------------------------------------------------------------------- > > Key: CB-12808 > URL: https://issues.apache.org/jira/browse/CB-12808 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows > Environment: See VisualStudioCommunity-Specs attachment. > Windows 10 Home (see Windows10Home-About attachment) > Microsoft Visual Studio Community 2017 Version 15.2 (26430.4) Release > Windows 10 SDK 10.0.15063.137 > cordova@6.5.0 and cordova@7.0.0 > Reporter: Shazron Abdullah > Priority: Major > Attachments: VisualStudioCommunity-Specs.txt, Windows10Home-About.PNG > > > See Environment field. > 1. Install Windows 10 Home with latest updates as of May 12 2017 > 2. Install Visual Studio Community Edition with latest updates as of May 12 2017 > 3. Install Windows 10 SDK 10.0.15063.137 > 4. Add to your environment variables 'VSINSTALLDIR` value: {{C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\}} > Repro: > {code} > $ cordova create foo > $ cd foo > # edit config.xml to add these two tags below (without the hashes): > # > # > $ cordova platform add windows > Adding windows project... > Creating Cordova Windows Project: > Path: platforms\windows > Namespace: io.cordova.hellocordova > Name: HelloCordova > Windows project created with cordova-windows@5.0.0 > Installing "cordova-plugin-whitelist" for windows > $ cordova build windows > Building project: C:\Users\shazron\Desktop\foo\platforms\windows\CordovaApp.Windows10.jsproj > Configuration : debug > Platform : anycpu > Patching 10 in prebuild event... > Injected base.js reference to the /www/index.html > Removing /( *)( > \s*<\/script>)(\s*)/ from /www/index.html > Removing /( *)(\s*<\/script>)(\s*)/ from /www/index.html > Error: AppPackages doesn't exists > {code} > The error originates in the platform code, here: > https://github.com/apache/cordova-windows/blob/7fe4c21229815d216a985b114a4db5f01b5e5169/template/cordova/lib/package.js#L32-L36 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org