Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E7BF10C8F for ; Wed, 13 Nov 2013 07:44:21 +0000 (UTC) Received: (qmail 14987 invoked by uid 500); 13 Nov 2013 07:44:21 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 14955 invoked by uid 500); 13 Nov 2013 07:44:20 -0000 Mailing-List: contact issues-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 issues@cordova.apache.org Received: (qmail 14899 invoked by uid 99); 13 Nov 2013 07:44:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Nov 2013 07:44:20 +0000 Date: Wed, 13 Nov 2013 07:44:19 +0000 (UTC) From: "Stephan Wezel (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-5183) WP7/8 lib path is not correctly resolved by CLI 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-5183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821035#comment-13821035 ] Stephan Wezel edited comment on CB-5183 at 11/13/13 7:43 AM: ------------------------------------------------------------- [~jsoref]: Doesn't work. Now I get that check_reqs cannot be found. I had to change following lines in wp8_parser.js: module.exports.check_requirements = function(project_root) { events.emit('log', 'Checking wp8 requirements...'); var lib_path = path.join(util.libDirectory, 'wp', 'cordova', require('../../platforms').wp8.version, 'wp8'); to module.exports.check_requirements = function(project_root) { events.emit('log', 'Checking wp8 requirements...'); var lib_path = path.join(util.libDirectory, 'wp8', 'cordova', require('../../platforms').wp8.version); But then I get the error that the cordova.js cannot be found: Error: ENOENT, no such file or directory 'C:\Users\stephanw\.cordova\lib\wp8\cordova\3.1.0\common\www\cordova.js' The common directory is missing maybe I fucked up my local copy of cordova cli was (Author: thewolfwillcome): [~jsoref]: Nope no i get that check_reqs cannot be found. I had to change following lines in wp8_parser.js: module.exports.check_requirements = function(project_root) { events.emit('log', 'Checking wp8 requirements...'); var lib_path = path.join(util.libDirectory, 'wp', 'cordova', require('../../platforms').wp8.version, 'wp8'); to module.exports.check_requirements = function(project_root) { events.emit('log', 'Checking wp8 requirements...'); var lib_path = path.join(util.libDirectory, 'wp8', 'cordova', require('../../platforms').wp8.version); But then I get the error that the cordova.js cannot be found: Error: ENOENT, no such file or directory 'C:\Users\stephanw\.cordova\lib\wp8\cordova\3.1.0\common\www\cordova.js' The common directory is missing maybe I fucked up my local copy of cordova cli > WP7/8 lib path is not correctly resolved by CLI > ----------------------------------------------- > > Key: CB-5183 > URL: https://issues.apache.org/jira/browse/CB-5183 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Reporter: Sergey Grebnov > Assignee: Josh Soref > Priority: Minor > > Steps to reproduce > 1. Install latest cordova-cli from git repo > 2. Create new project App using 'cordova create App' CLI command > 3. Update app/.cordova/config.json to point to custom cordova-wp8 repo > For example > { "id":"org.apache.mobilespec", "name":"mobilespec", "lib": { "wp8": { "uri": "c:\\..\\cordova-wp8", "version": "3.1.0", "id": "cordova-wp8-master" } }} > 4. Run 'cordova platform add wp8' commands > Expected: command succeeded. > Actually: command failed with the message below > Error: Error while checking requirements: '"c:\..\cordova-wp8\bin\check_reqs"' is not recognized as an internal or external command, > operable program or batch file. -- This message was sent by Atlassian JIRA (v6.1#6144)