[ https://issues.apache.org/jira/browse/CB-5271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885362#comment-13885362 ]
Richard Sentino commented on CB-5271: ------------------------------------- pull request: https://github.com/apache/cordova-cli/pull/122 This will check if the manifest file of FirefoxOS exists under platforms/firefoxos/www/ > 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)