[
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)