Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5.0
-
None
Description
$ 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)