[
https://issues.apache.org/jira/browse/CB-5248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah updated CB-5248:
---------------------------------
Fix Version/s: (was: 3.2.0)
3.3.0
> Adding additional arguments for 'cordova create' will break your project
> ------------------------------------------------------------------------
>
> Key: CB-5248
> URL: https://issues.apache.org/jira/browse/CB-5248
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.1.0
> Reporter: JennyGee
> Priority: Minor
> Fix For: 3.3.0
>
>
> According to the help docs cordova has the following for create:
> create <PATH> [ID] [NAME] where ID and NAME are optional.
> When you add an additional parameter after NAME, you get a error stating that
> it doesn't understand the last parameter. On the other hand the cordova
> project appears to be created properly. But when you have a look at the
> actual project, it's actually broken:
> myMachine:cordovaTest jgee$ cordova create newDir newPackage app1 app2
> Creating a new cordova project with name "app1" and id "newPackage" at
> location "../cordovaTest/newDir"
> [TypeError: Object.keys called on non-object]
> myMachine:cordovaTest jgee$ cd newDir/
> ci0000003068684:newDir jgee$ ls
> merges platforms plugins www
> myMachine:newDir jgee$ cordova info
> { [Error: ENOENT, no such file or directory
> '..cordovaTest/newDir/www/config.xml']
> errno: 34,
> code: 'ENOENT',
> path: '..cordova/newDir/www/config.xml',
> syscall: 'open' }
--
This message was sent by Atlassian JIRA
(v6.1#6144)