Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8512D11E36 for ; Tue, 23 Sep 2014 18:32:54 +0000 (UTC) Received: (qmail 6652 invoked by uid 500); 23 Sep 2014 18:32:54 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 6627 invoked by uid 500); 23 Sep 2014 18:32:54 -0000 Mailing-List: contact commits-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 commits@cordova.apache.org Received: (qmail 6617 invoked by uid 99); 23 Sep 2014 18:32:54 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 18:32:54 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0D1F5937D59; Tue, 23 Sep 2014 18:32:54 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sgrebnov@apache.org To: commits@cordova.apache.org Message-Id: <2c516476dc6b4ba28cb190d8432d9915@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: CB-7618 Fix WP8 build due to missing node_modules Date: Tue, 23 Sep 2014 18:32:54 +0000 (UTC) Repository: cordova-wp8 Updated Branches: refs/heads/master 271de27b5 -> b22b88a2b CB-7618 Fix WP8 build due to missing node_modules Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/b22b88a2 Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/b22b88a2 Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/b22b88a2 Branch: refs/heads/master Commit: b22b88a2beb897530678a8c55ee1c44c904c6370 Parents: 271de27 Author: sgrebnov Authored: Tue Sep 23 22:32:43 2014 +0400 Committer: sgrebnov Committed: Tue Sep 23 22:32:43 2014 +0400 ---------------------------------------------------------------------- bin/lib/create.js | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/b22b88a2/bin/lib/create.js ---------------------------------------------------------------------- diff --git a/bin/lib/create.js b/bin/lib/create.js index ab073ca..5b1978f 100644 --- a/bin/lib/create.js +++ b/bin/lib/create.js @@ -67,6 +67,8 @@ module.exports.run = function (argv) { shell.cp("-rf", path.join(platformRoot, 'VERSION'), projectPath); // copy the defaults.xml into config.xml so this project can be built when create is called minus the cordova-cli shell.cp(path.join(projectPath, "cordova", "defaults.xml"), path.join(projectPath, "config.xml")); + // CB-7618 node_modules must be copied to project folder + shell.cp('-r', path.join(platformRoot, 'node_modules'), path.join(projectPath, 'cordova')); // if any custom template is provided, just copy it over created project if (customTemplate && fs.existsSync(customTemplate)) {