{"action":"opened","issue":{"url":"https://api.github.com/repos/FokkeZB/ti-i18n/issues/16","labels_url":"https://api.github.com/repos/FokkeZB/ti-i18n/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/FokkeZB/ti-i18n/issues/16/comments","events_url":"https://api.github.com/repos/FokkeZB/ti-i18n/issues/16/events","html_url":"https://github.com/FokkeZB/ti-i18n/issues/16","id":64229185,"number":16,"title":"Failed to run ti i18n extract -l en -a OR ti-i18n extract -l en -a","user":{"login":"caspahouzer","id":1126641,"avatar_url":"https://avatars.githubusercontent.com/u/1126641?v=3","gravatar_id":"","url":"https://api.github.com/users/caspahouzer","html_url":"https://github.com/caspahouzer","followers_url":"https://api.github.com/users/caspahouzer/followers","following_url":"https://api.github.com/users/caspahouzer/following{/other_user}","gists_url":"https://api.github.com/users/caspahouzer/gists{/gist_id}","starred_url":"https://api.github.com/users/caspahouzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caspahouzer/subscriptions","organizations_url":"https://api.github.com/users/caspahouzer/orgs","repos_url":"https://api.github.com/users/caspahouzer/repos","events_url":"https://api.github.com/users/caspahouzer/events{/privacy}","received_events_url":"https://api.github.com/users/caspahouzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T09:45:12Z","updated_at":"2015-03-25T09:45:12Z","closed_at":null,"body":"With version 0.5.1 I got the following error:\r\n\r\n~~~\r\n/usr/local/lib/node_modules/ti-i18n/lib/strings.js:68\r\n\t\tvar value = doc.createTextNode(normalize(val));\r\n\t\t                               ^\r\n[ERROR] Failed to run command \"i18n\"\r\n[ERROR] ReferenceError: normalize is not defined\r\n    at /usr/local/lib/node_modules/ti-i18n/lib/strings.js:68:34\r\n    at _.each._.forEach (/usr/local/lib/node_modules/ti-i18n/node_modules/underscore/underscore.js:145:9)\r\n    at exports.append (/usr/local/lib/node_modules/ti-i18n/lib/strings.js:66:4)\r\n    at /usr/local/lib/node_modules/ti-i18n/lib/extract.js:247:13\r\n    at _.each._.forEach (/usr/local/lib/node_modules/ti-i18n/node_modules/underscore/underscore.js:145:9)\r\n    at exports.run (/usr/local/lib/node_modules/ti-i18n/lib/extract.js:236:4)\r\n    at exports.extract (/usr/local/lib/node_modules/ti-i18n/main.js:69:30)\r\n    at exports.run (/usr/local/lib/node_modules/ti-i18n/commands/i18n.js:39:21)\r\n    at CLI.<anonymous> (/usr/local/lib/node_modules/titanium/lib/cli.js:930:5)\r\n    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:119:25\r\n---------------------------------------------\r\n    at Object.run (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:59:8)\r\n    at find (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:96:14)\r\n    at q.process (/usr/local/lib/node_modules/titanium/node_modules/node-appc/node_modules/async/lib/async.js:809:21)\r\n    at processImmediate (timers.js:330:15)\r\n~~~"}}