cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gonzalez (JIRA)" <>
Subject [jira] [Created] (CB-7240) Cordova-cli breaking changes on master
Date Thu, 31 Jul 2014 16:56:40 GMT
Martin Gonzalez created CB-7240:

             Summary: Cordova-cli breaking changes on master
                 Key: CB-7240
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI, CordovaLib
    Affects Versions: 3.6.0
         Environment: Windows 7, 64 bit.
NodeJS v0.10.28
            Reporter: Martin Gonzalez
             Fix For: 3.6.0

I have notice that the latest changes on cordova-cli master branch, are not working properly
when --link-to is used for custom www resources.
It throws a error on the module:

cordova-cli\bin\cordova create test --link-to cordova-mobile-spec\www
Creating a new cordova project with name "HelloCordova" and id "io.cordova.hello
cordova" at location "C:\Users\Administrator\MobileSpecTests_New\test"
Using custom www assets from undefined
TypeError: Arguments to path.resolve must be strings
    at Object.exports.resolve (path.js:116:15)
    at Object.exports.relative (path.js:239:20)
    at Object.create (C:\Users\Administrator\MobileSpecTests_New\cordova-cli\nod
    at cli (C:\Users\Administrator\MobileSpecTests_New\cordova-cli\src\cli.js:23
    at Object.<anonymous> (C:\Users\Administrator\MobileSpecTests_New\cordova-cl
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)

The branch that is working properly is :rb_3.5.0-0.2.6, on that branch there's no problem
at all, at least with --link-to.

CLI on master branch is using "cordova-lib 21.6", as well as rb_3.5.0-0.2.6 branch, so the
problem should in the CLI and not in the cordova-lib.

This message was sent by Atlassian JIRA

View raw message