You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Piotr Zalewa (JIRA)" <ji...@apache.org> on 2014/05/21 14:59:38 UTC

[jira] [Closed] (CB-5271) cordova prepare firefoxos comes back with useless information when the platform is not installed

     [ https://issues.apache.org/jira/browse/CB-5271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piotr Zalewa closed CB-5271.
----------------------------

    Resolution: Fixed

Not happening in 3.4.x

> 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: Jenny Gee
>
> 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.2#6252)