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 051AE11A9A for ; Tue, 9 Sep 2014 00:36:41 +0000 (UTC) Received: (qmail 34886 invoked by uid 500); 9 Sep 2014 00:36:40 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 34849 invoked by uid 500); 9 Sep 2014 00:36:40 -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 34481 invoked by uid 99); 9 Sep 2014 00:36:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2014 00:36:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brian.leroux@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-ig0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2014 00:36:13 +0000 Received: by mail-ig0-f173.google.com with SMTP id h3so407211igd.6 for ; Mon, 08 Sep 2014 17:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=b9oOFarUlUCNv3+ldZlyK4ZndoevSmUDKw4BZ/hOOVg=; b=jCxhNtMq9yEHv5xGOIhS68jRZJwVe9lDFE4b0SmslBLXSO8WQsLnbifw1Xqlt1nhz1 j+isF7sO01VgX+IbrdR517TMJWJLgYw5Hamhby2QCoEcNpgcztLKzkH/sLdpSFMR+WxE OFxhgxEAMVpSguKxwLwtMXve4RP6XOYAg6g3Xdz7QpTUcC3jRFuI+sjIbZdlsUD8FpRU sdsi7KaE00yPykJMhl/FW+rbMLS3K0f06KffQFS9VSjCAXjBSAPzqL91QsDyQv1fqgW0 YM7/WEdIUK54rR++Yp8ygSvV3F2nTuRO/C7oioqcjY1VznBrVPDpWgSzDE9B3T/osNGZ x5hw== MIME-Version: 1.0 X-Received: by 10.50.44.68 with SMTP id c4mr27679716igm.1.1410222972081; Mon, 08 Sep 2014 17:36:12 -0700 (PDT) Sender: brian.leroux@gmail.com Received: by 10.50.221.140 with HTTP; Mon, 8 Sep 2014 17:36:12 -0700 (PDT) In-Reply-To: <1410222366.86385.YahooMailNeo@web161703.mail.bf1.yahoo.com> References: <1410222366.86385.YahooMailNeo@web161703.mail.bf1.yahoo.com> Date: Mon, 8 Sep 2014 17:36:12 -0700 X-Google-Sender-Auth: hPHdMmPY6xvvHneUQIsqhz38btY Message-ID: Subject: Re: Platform cache issue with browser From: Brian LeRoux To: "dev@cordova.apache.org" , Suraj Pindoria Content-Type: multipart/alternative; boundary=e89a8f8393bf4e1f1c0502971f27 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f8393bf4e1f1c0502971f27 Content-Type: text/plain; charset=UTF-8 would be worth us exploring using npm to manage deps (like, vanilla npm) this is precisely the issue w/ maintaining this unnecessary logic ourselves On Mon, Sep 8, 2014 at 5:26 PM, Suraj Pindoria < suraj.pindoria@yahoo.com.invalid> wrote: > Hey, > > I am having an issue when trying to add the browser as a platform. It is > downloading the browser module from the npm registry and saving into > "~/.cordova/lib/npm_cache/" but it is installing the node_modules folder > into a different folder than my source code. The source code is in > "~/.cordova/lib/npm_cache/cordova-browser/3.5.0/package/bin/" and > node_modules are being installed in > "~/.cordova/lib/npm_cache/cordova-browser/3.5.0/package/cordova/master/". > > This has to do with the custom platform cache logic. Has anyone run into > a similar issue? I have been trying to debug for a couple days and have > not made much progress. > > Thanks, > Suraj. --e89a8f8393bf4e1f1c0502971f27--