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 A290D200D42 for ; Fri, 17 Nov 2017 15:43:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A1608160BFB; Fri, 17 Nov 2017 14:43:05 +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 E742C160BF8 for ; Fri, 17 Nov 2017 15:43:04 +0100 (CET) Received: (qmail 29564 invoked by uid 500); 17 Nov 2017 14:43: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 29552 invoked by uid 99); 17 Nov 2017 14:43: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; Fri, 17 Nov 2017 14:43: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 64F991A0C35 for ; Fri, 17 Nov 2017 14:43:03 +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 QxSTzQHRhck9 for ; Fri, 17 Nov 2017 14:43:01 +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 DE5435FC3D for ; Fri, 17 Nov 2017 14:43:00 +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 74C45E041F for ; Fri, 17 Nov 2017 14:43:00 +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 2B6B4240DA for ; Fri, 17 Nov 2017 14:43:00 +0000 (UTC) Date: Fri, 17 Nov 2017 14:43:00 +0000 (UTC) From: "Lukas Plachy (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-13588) cordova-create fail to copy template on Windows when nodejs global node_modules where it is installed in is in a different directory than the default one (AppData\Roaming) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Nov 2017 14:43:05 -0000 Lukas Plachy created CB-13588: --------------------------------- Summary: cordova-create fail to copy template on Windows when nodejs global node_modules where it is installed in is in a different directory than the default one (AppData\Roaming) Key: CB-13588 URL: https://issues.apache.org/jira/browse/CB-13588 Project: Apache Cordova Issue Type: Bug Components: cordova-create Reporter: Lukas Plachy If the npm is run without the wrong(*) content in npmrc, then as you may see, cordova create fails again in the very same way, even when the npm is allready able to work as expected. correct__g_install_fail_npmrc.png If you are not comfort with the "local install" override, or the npmrc content deletition, then you might find the command '*npm install -g cordova --prefix D:\mynodejsdirectory*' more compliant with correct usage. And as you may see (correct__g_install_fail_using_prefix.png), the error which this ticket is about, remains in place in all three soltuions I have presented you here, despite the '-g' install. So I still have to insist on the fact, that there is someting wrong in Cordova code. *) incorrect handling of npmrc file containing the string 'prefix=${APPDATA}\npm' in contrast to the expected behvaior as described in https://docs.npmjs.com/cli/npm#directories -- 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