{"action":"created","issue":{"url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.drawer/issues/41","labels_url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.drawer/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.drawer/issues/41/comments","events_url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.drawer/issues/41/events","html_url":"https://github.com/FokkeZB/nl.fokkezb.drawer/issues/41","id":73440751,"number":41,"title":"[ERROR] Couldn't find module: xp.ui","user":{"login":"Agnostic","id":1162988,"avatar_url":"https://avatars.githubusercontent.com/u/1162988?v=3","gravatar_id":"","url":"https://api.github.com/users/Agnostic","html_url":"https://github.com/Agnostic","followers_url":"https://api.github.com/users/Agnostic/followers","following_url":"https://api.github.com/users/Agnostic/following{/other_user}","gists_url":"https://api.github.com/users/Agnostic/gists{/gist_id}","starred_url":"https://api.github.com/users/Agnostic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Agnostic/subscriptions","organizations_url":"https://api.github.com/users/Agnostic/orgs","repos_url":"https://api.github.com/users/Agnostic/repos","events_url":"https://api.github.com/users/Agnostic/events{/privacy}","received_events_url":"https://api.github.com/users/Agnostic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-05T21:43:25Z","updated_at":"2015-09-02T09:41:42Z","closed_at":"2015-05-06T06:07:45Z","body":"I got this when I want to compile:\r\n\r\n```[ERROR] Couldn't find module: xp.ui for architecture: i386```\r\n\r\nI was looking for that module but it seems like it does not exist anymore."},"comment":{"url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.drawer/issues/comments/137001509","html_url":"https://github.com/FokkeZB/nl.fokkezb.drawer/issues/41#issuecomment-137001509","issue_url":"https://api.github.com/repos/FokkeZB/nl.fokkezb.drawer/issues/41","id":137001509,"user":{"login":"SudoPlz","id":3070948,"avatar_url":"https://avatars.githubusercontent.com/u/3070948?v=3","gravatar_id":"","url":"https://api.github.com/users/SudoPlz","html_url":"https://github.com/SudoPlz","followers_url":"https://api.github.com/users/SudoPlz/followers","following_url":"https://api.github.com/users/SudoPlz/following{/other_user}","gists_url":"https://api.github.com/users/SudoPlz/gists{/gist_id}","starred_url":"https://api.github.com/users/SudoPlz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SudoPlz/subscriptions","organizations_url":"https://api.github.com/users/SudoPlz/orgs","repos_url":"https://api.github.com/users/SudoPlz/repos","events_url":"https://api.github.com/users/SudoPlz/events{/privacy}","received_events_url":"https://api.github.com/users/SudoPlz/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T09:41:42Z","updated_at":"2015-09-02T09:41:42Z","body":"For others hitting this error, the solution (as explained in the readme) is this:\r\n\r\nMake a directory called `lib` within the `app` folder. Create a file named `ui.xp.js` and paste this code in it:\r\n\r\n\texports.createWindow = function(args) {\r\n\t    return Ti.UI[OS_IOS ? 'createWindow' : 'createView'](args);\r\n\t};\r\n\r\nand the error will be gone."}}