[
https://issues.apache.org/jira/browse/CB-7989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah updated CB-7989:
---------------------------------
Environment: iOS
Component/s: (was: iOS)
CLI
> platform add fails when project name is empty
> ---------------------------------------------
>
> Key: CB-7989
> URL: https://issues.apache.org/jira/browse/CB-7989
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.5.0
> Environment: iOS
> Reporter: Josh Soref
>
> This should be fixed by not relying on the <name> for naming anything bug.
> But I'm filing it because it's useful to document that end users hit this
> (via ionic).
> {quote}
> cordova create example
> cd example
> sed -i 's!<name>HelloCordova!<name>!' config.xml
> cordova platform add ios
> {quote}
> {quote}
> Creating ios project...
> Usage: ~/.cordova/lib/npm_cache/cordova-ios/3.6.3/package/bin/create
> \[\-\-shared] \[\-\-cli] <path_to_new_project> <package_name> <project_name>
> \[<project_template_dir>]
> --shared (optional): Link directly against the shared copy of the
> CordovaLib instead of a copy of it.
> --cli (optional): Use the CLI-project template.
> <path_to_new_project>: Path to your new Cordova iOS project
> <package_name>: Package name, following reverse-domain style convention
> <project_name>: Project name
> <project_template_dir>: Path to project template (override).
> Error: ~/.cordova/lib/npm_cache/cordova-ios/3.6.3/package/bin/create: Command
> failed with exit code 1
> at ChildProcess.whenDone
> (~/Cordova/cordova-lib/cordova-lib/src/cordova/superspawn.js:135:23)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:735:16)
> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]