[
https://issues.apache.org/jira/browse/CB-7240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089524#comment-14089524
]
Mark Koudritsky commented on CB-7240:
-------------------------------------
Just tried to reproduce it on Mac and Linux, no errors. Is this Windows
specific? Could someone with a windows machine look at it?
> Cordova-cli breaking changes on master
> --------------------------------------
>
> Key: CB-7240
> URL: https://issues.apache.org/jira/browse/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
> Labels: CLI, cordova-lib
> 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
> e_modules\cordova-lib\src\cordova\create.js:108:56)
> at cli
> (C:\Users\Administrator\MobileSpecTests_New\cordova-cli\src\cli.js:23
> 8:21)
> at Object.<anonymous>
> (C:\Users\Administrator\MobileSpecTests_New\cordova-cl
> i\bin\cordova:41:1)
> 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
(v6.2#6252)