You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Josh Soref (JIRA)" <ji...@apache.org> on 2014/08/22 21:26:11 UTC
[jira] [Closed] (CB-7119) cordova run --target xxx dies if
blackberry10.json is empty
[ https://issues.apache.org/jira/browse/CB-7119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Soref closed CB-7119.
--------------------------
Resolution: Fixed
Fix Version/s: 3.6.0
> cordova run --target xxx dies if blackberry10.json is empty
> -----------------------------------------------------------
>
> Key: CB-7119
> URL: https://issues.apache.org/jira/browse/CB-7119
> Project: Apache Cordova
> Issue Type: Bug
> Components: BlackBerry
> Affects Versions: 3.5.0
> Reporter: Josh Soref
> Assignee: Josh Soref
> Fix For: 3.6.0
>
>
> {quote}
> $ mv ~/.cordova/blackberry10.json ~/.cordova/blackberry10.json.x ; touch ~/.cordova/blackberry10.json; cordova run --target foo ; mv ~/.cordova/blackberry10.json.x ~/.cordova/blackberry10.json
> module.js:485
> throw err;
> ^
> SyntaxError: ~/.cordova/blackberry10.json: Unexpected end of input
> at Object.parse (native)
> at Object.Module._extensions..json (module.js:482:27)
> at Module.load (module.js:356:32)
> at Function.Module._load (module.js:312:12)
> at Module.require (module.js:364:17)
> at require (module.js:380:17)
> at Object._self.getProperties (project/platforms/blackberry10/cordova/lib/utils.js:303:22)
> at Object.<anonymous> (project/spatial/platforms/blackberry10/cordova/lib/target-utils.js:22:39)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2#6252)