From 0389bd53c31052ef8fbfef61ed9f0951070e76a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= Date: Sun, 1 Dec 2013 13:45:08 +0100 Subject: [PATCH] Added note about version.bat bug. Along with Cordova 3.2 and Windows Phone 8 the `version.bat` script has to be renamed to `version`. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 7f8b3f7..39297a1 100644 --- a/README.md +++ b/README.md @@ -109,3 +109,15 @@ namespace your.own.namespace } } ``` + +### TypeError: Cannot read property 'currentVersion' of null +Along with Cordova 3.2 and Windows Phone 8 the `version.bat` script has to be renamed to `version`. + +On Mac or Linux +``` +mv platforms/wp8/cordova/version.bat platforms/wp8/cordova/version +``` +On Windows +``` +ren platforms\wp8\cordova\version.bat platforms\wp8\cordova\version +```