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 A8A71102B8 for ; Fri, 11 Oct 2013 15:18:08 +0000 (UTC) Received: (qmail 93169 invoked by uid 500); 11 Oct 2013 15:18:07 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 93063 invoked by uid 500); 11 Oct 2013 15:18:06 -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 92973 invoked by uid 99); 11 Oct 2013 15:18:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Oct 2013 15:18:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of agrieve@google.com designates 209.85.192.179 as permitted sender) Received: from [209.85.192.179] (HELO mail-pd0-f179.google.com) (209.85.192.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Oct 2013 15:18:00 +0000 Received: by mail-pd0-f179.google.com with SMTP id v10so4416558pde.10 for ; Fri, 11 Oct 2013 08:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Ut90Png3U97jK9Y0jVLxakoM1qMbYQGp58n7+ZKgMTk=; b=lVVavx5GbIXadUHAJxZRYzznPuZ9I7qkNKDhjbFMl0fbqwEGcVvC/13mEJ9oMt2dWr OUcr71dArkU4YA9vL0Mq+j5IFeURbRvCc40H8f7X+GWVEljIc1NJzdeEY/Fm5ZSeml/P 3KMW4Mm0NVGQGHIV8zwTutIUqeSoEKDKrXfon8dYNiDfNgW/t7BkGfFEITiGmrrFpt4s OxEOpMliOWe/zB7/SI9RrM6UwKETBJ0CWMIdJjrySmEAPKxY/B5uMA149p6YClCUhxN8 7axtFGIP8ew+o7Q82VYebaRpBIB0LiZxFqZJIZL2I3MOZSwoAmxlZGM3+hKJnY1gyfw4 QlsQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Ut90Png3U97jK9Y0jVLxakoM1qMbYQGp58n7+ZKgMTk=; b=ILIFiTlPhUIqxzKvFljNIhRfIEm9bLYNCVBhjSuZat5nATnd3t1seGwDDxf1xbxbQ4 xAYCB4rmXl7h6gySo48lbcqDKCn7X1nZwg6E9Eak3ZhblG7wacZQGL03QjcgMfsbg3CN 8U9GsZAyCYkA+7eAkcwGXRS7bPl8e5TkqKz6Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=Ut90Png3U97jK9Y0jVLxakoM1qMbYQGp58n7+ZKgMTk=; b=eMw2n3j0dCCIdwPuMo81wheBSEsnx3BajfIyeegEvCDJotOyQQpU5ItJcwQTXGQNCI s9GX3hlswDn0IlKFX44AdS2aPNl6KzabwVLHlj1WIRr/fkz+BE15QABP6zn4rvk8okVs SkxQoS4yupXWnzkrdWByrChrTp4gux9WgscdxWlMnHY/sNgF398KZ+pp71j/UdFKnIXi 4N+3PJ0CG3ZweNcuZle6dNQIex6hT9N69qd0ocpSfWiBEGWnlAsg4lUlNFFdt9Xkj/cE J1DuoGOGpHswJF4pBXknl3NYhVvO8MkCp2M3DaaAu/MSgNiqSukz48eqNDb4Rn6tou6K 74fA== X-Gm-Message-State: ALoCoQl7/ICSj/3FCA7adlnMqObVKaj3QWFWZIO139L8CLSwGqr/nXRfXrpgzRzBSwsU77yD7/O1y4zDQs8Vx3OOACN1NgZMU0fxVY6eg3J1zJq4bja7fznczA/JEJCHUC/Gx2o/skvlmgavqzYa/B2kKLVgzA1Q1xje2j047CZl8tK2Joj8efM4rBl3784Vl7CCwZYp9hli8LzK35Fi8P1vzUXL1BoHbA== X-Received: by 10.66.19.202 with SMTP id h10mr2662877pae.187.1381504659676; Fri, 11 Oct 2013 08:17:39 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.68.17.98 with HTTP; Fri, 11 Oct 2013 08:17:19 -0700 (PDT) In-Reply-To: References: From: Andrew Grieve Date: Fri, 11 Oct 2013 11:17:19 -0400 X-Google-Sender-Auth: l_IymFa8iBcg0u-BENwEbQZAySM Message-ID: Subject: Re: no such file: ~/.cordova\lib\android\cordova\3.1.0\framework\assets\www\cordova.js To: dev Cc: Axel Nennker Content-Type: multipart/alternative; boundary=bcaec520f51d7f13c304e8789e79 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec520f51d7f13c304e8789e79 Content-Type: text/plain; charset=ISO-8859-1 I think that likely is the case. See if creating a dummy project on the same machine fixes it. Clearly a poor design choice. Filed an issue for it: https://issues.apache.org/jira/browse/CB-5063 On Fri, Oct 11, 2013 at 9:32 AM, Axel Nennker wrote: > Hi, > I moved to a new developement machine and installed the latest phonegap > using npm -g install phonegap. > Then I checked out a phonegap project (3.0) from our git repo. > > Now I want to build the Android part but get the message below. > > Is this happening because I never did a "phonegap platform add android" > here? > Yes we are checking in the platforms/android directory (which might not be > the pure phonegap CLI way to do things) > > How can I fix this? > > cheers > Axel > > $ phonegap local build android > [phonegap] compiling Android... > > fs.js:427 > return binding.open(pathModule._makeLong(path), stringToFlags(flags), > mode); > ^ > Error: ENOENT, no such file or directory > 'C:\Users\ignisvulpis\.cordova\lib\andr > oid\cordova\3.1.0\framework\assets\www\cordova.js' > at Object.fs.openSync (fs.js:427:18) > at Object.fs.readFileSync (fs.js:284:15) > at Object.module.exports.update_www > (c:\Users\ignisvulpis\AppData\Roaming\np > > m\node_modules\phonegap\node_modules\cordova\src\metadata\android_parser.js:183: > 70) > at Object.module.exports.update_project > (c:\Users\ignisvulpis\AppData\Roamin > > g\npm\node_modules\phonegap\node_modules\cordova\src\metadata\android_parser.js: > 213:14) > at > c:\Users\ignisvulpis\AppData\Roaming\npm\node_modules\phonegap\node_modul > es\cordova\src\prepare.js:88:32 > at > c:\Users\ignisvulpis\AppData\Roaming\npm\node_modules\phonegap\node_modul > es\cordova\src\lazy_load.js:48:31 > at Object.module.exports.custom > (c:\Users\ignisvulpis\AppData\Roaming\npm\no > de_modules\phonegap\node_modules\cordova\src\lazy_load.js:57:34) > at Object.lazy_load [as cordova] > (c:\Users\ignisvulpis\AppData\Roaming\npm\n > ode_modules\phonegap\node_modules\cordova\src\lazy_load.js:43:24) > at Object.module.exports.based_on_config > (c:\Users\ignisvulpis\AppData\Roami > ng\npm\node_modules\phonegap\node_modules\cordova\src\lazy_load.js:134:28) > at > c:\Users\ignisvulpis\AppData\Roaming\npm\node_modules\phonegap\node_modul > es\cordova\src\prepare.js:81:27 > > ignisvulpis@NAMENLOS ~/git/phonegap (master) > --bcaec520f51d7f13c304e8789e79--