You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "JennyGee (JIRA)" <ji...@apache.org> on 2013/11/04 20:30:17 UTC
[jira] [Created] (CB-5271) cordova prepare firefoxos comes back
with useless information when the platform is not installed
JennyGee created CB-5271:
----------------------------
Summary: 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
Priority: Minor
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#6144)