{"action":"created","issue":{"url":"https://api.github.com/repos/jaruba/wcjs-player/issues/42","repository_url":"https://api.github.com/repos/jaruba/wcjs-player","labels_url":"https://api.github.com/repos/jaruba/wcjs-player/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/jaruba/wcjs-player/issues/42/comments","events_url":"https://api.github.com/repos/jaruba/wcjs-player/issues/42/events","html_url":"https://github.com/jaruba/wcjs-player/issues/42","id":140711096,"number":42,"title":"error versions on windows and electron 0.37.2","user":{"login":"Nicoss","id":5647545,"avatar_url":"https://avatars.githubusercontent.com/u/5647545?v=3","gravatar_id":"","url":"https://api.github.com/users/Nicoss","html_url":"https://github.com/Nicoss","followers_url":"https://api.github.com/users/Nicoss/followers","following_url":"https://api.github.com/users/Nicoss/following{/other_user}","gists_url":"https://api.github.com/users/Nicoss/gists{/gist_id}","starred_url":"https://api.github.com/users/Nicoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nicoss/subscriptions","organizations_url":"https://api.github.com/users/Nicoss/orgs","repos_url":"https://api.github.com/users/Nicoss/repos","events_url":"https://api.github.com/users/Nicoss/events{/privacy}","received_events_url":"https://api.github.com/users/Nicoss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-14T15:40:57Z","updated_at":"2016-03-14T15:59:37Z","closed_at":null,"body":"hi.\r\nI tryed a lot to make the wcjs works but i'm still stuck when i call addPlay().\r\nI tryed add wcjs player to my project and have a runtime javascript error in console. I tryed a lot of configuration with VLC win.32 or 64, electron with ia32 or 64, even with node 32 and 64bit and still have error.\r\n\r\nIf i launch application with the x64 version of electron got\r\n> Error: %1 is not a valid Win32 application.\r\n\r\nand if i launch application with the ia32 version of electron got \r\n> Error: The specified module could not be found.\r\n\r\nI got all prerequesites having a full generation with no error or warning when i install wcjs-player\r\nI tryed using the prebuilt here https://github.com/Ivshti/wcjs-prebuilt and then install wcjs-player and now i'm stuck with this message\r\n> Error: Module version mismatch. Expected 47, got 46.\r\n\r\ncan't install wcjs-player. Is it a know issue, do you a fix or a way to help me ?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/jaruba/wcjs-player/issues/comments/196383534","html_url":"https://github.com/jaruba/wcjs-player/issues/42#issuecomment-196383534","issue_url":"https://api.github.com/repos/jaruba/wcjs-player/issues/42","id":196383534,"user":{"login":"jaruba","id":1777923,"avatar_url":"https://avatars.githubusercontent.com/u/1777923?v=3","gravatar_id":"","url":"https://api.github.com/users/jaruba","html_url":"https://github.com/jaruba","followers_url":"https://api.github.com/users/jaruba/followers","following_url":"https://api.github.com/users/jaruba/following{/other_user}","gists_url":"https://api.github.com/users/jaruba/gists{/gist_id}","starred_url":"https://api.github.com/users/jaruba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaruba/subscriptions","organizations_url":"https://api.github.com/users/jaruba/orgs","repos_url":"https://api.github.com/users/jaruba/repos","events_url":"https://api.github.com/users/jaruba/events{/privacy}","received_events_url":"https://api.github.com/users/jaruba/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T15:59:37Z","updated_at":"2016-03-14T15:59:37Z","body":"But, can the prebuilt even handle electron 0.37.2?\r\n\r\nI agree with @RSATom , you should install the pre-requisites and use `wcjs-ugly-demo` to build `webchimera.js` for your electron version and architecture.\r\n\r\n```\r\nset npm_config_wcjs_runtime=\"electron\"\r\nset npm_config_wcjs_runtime_version=\"0.37.2\"\r\nset npm_config_wcjs_arch=\"x64\"\r\n\r\nnpm install\r\n```\r\n(arch can be x64 or ia32)\r\n\r\nI think that for Electron 0.36+ you'll also need to set an env var before loading the renderer window:\r\n\r\n```\r\nif(process.platform == 'win32')\r\n    process.env['VLC_PLUGIN_PATH'] = path.join(__dirname, 'node_modules/webchimera.js/plugins')\r\n```\r\n\r\nKeep in mind that Electron, WebChimera.js and VLC need to all be the same architecture in order for it to work."}}