[
https://issues.apache.org/jira/browse/CB-5271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885356#comment-13885356
]
Richard Sentino commented on CB-5271:
-------------------------------------
Hi JennyGee
This issue affects version 3.3.1-0.1.2 and on master (as of this writing).
I've tried replicating the steps provided but got stuck in #2, I had to add at
least 1 platform eg. iOS and execute $> cordova prepare firefoxos.
> cordova prepare firefoxos comes back with useless information when the
> platform is not installed
> ------------------------------------------------------------------------------------------------
>
> Key: CB-5271
> URL: https://issues.apache.org/jira/browse/CB-5271
> Project: Apache Cordova
> Issue Type: Bug
> Components: FirefoxOS
> Reporter: JennyGee
>
> 1. Create a project
> 2. Don't add ANY platforms and run prepare:
> ci0000003068684:Some Directory jgee$ cordova prepare firefoxos
> cp: copyFileSync: could not write to dest file
> (code=ENOENT):/Users/jgee/RippleSites/cordovaTest/Some
> Directory/platforms/firefoxos/www/config.xml
> { [Error: ENOENT, no such file or directory
> '/Users/jgee/RippleSites/cordovaTest/Some Directory/platforms/firefoxos']
> errno: 34,
> code: 'ENOENT',
> path: '/Users/jgee/RippleSites/cordovaTest/Some
> Directory/platforms/firefoxos',
> syscall: 'readdir' }
> If you run the BlackBerry one, you get a nicer message.
> ci0000003068684:Some Directory jgee$ cordova prepare blackberry10
> [Error: The provided path "/Users/jgee/RippleSites/cordovaTest/Some
> Directory/platforms/blackberry10" is not a Cordova BlackBerry10 project.]
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)