{"action":"created","issue":{"url":"https://api.github.com/repos/mafintosh/electron-prebuilt/issues/42","labels_url":"https://api.github.com/repos/mafintosh/electron-prebuilt/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/mafintosh/electron-prebuilt/issues/42/comments","events_url":"https://api.github.com/repos/mafintosh/electron-prebuilt/issues/42/events","html_url":"https://github.com/mafintosh/electron-prebuilt/issues/42","id":88649783,"number":42,"title":"electron cant start - NSURLErrorDomain","user":{"login":"Zougi","id":702227,"avatar_url":"https://avatars.githubusercontent.com/u/702227?v=3","gravatar_id":"","url":"https://api.github.com/users/Zougi","html_url":"https://github.com/Zougi","followers_url":"https://api.github.com/users/Zougi/followers","following_url":"https://api.github.com/users/Zougi/following{/other_user}","gists_url":"https://api.github.com/users/Zougi/gists{/gist_id}","starred_url":"https://api.github.com/users/Zougi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zougi/subscriptions","organizations_url":"https://api.github.com/users/Zougi/orgs","repos_url":"https://api.github.com/users/Zougi/repos","events_url":"https://api.github.com/users/Zougi/events{/privacy}","received_events_url":"https://api.github.com/users/Zougi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-16T07:54:25Z","updated_at":"2015-08-06T13:31:56Z","closed_at":null,"body":"When I start electron with \"$ electron\" it does nothing.\r\nWhen I start electron on my project with \"$ electron .\"\r\nit says:\r\n0615/102324:ERROR:http_transport_mac.mm(186)] Could not connect to the server. (NSURLErrorDomain -1004)\r\n\r\nI'm on Mac OSX 10.8.5 and I installed electron with command line \"$ npm install electron-prebuilt -g\"\r\nelectron version: v0.27.2\r\nnpm version: 2.11.0\r\niosj version: v2.2.1\r\n\r\nAlso if I install latest electron version, same error (\"$ npm install electron-prebuilt@0.28.1 -g\")\r\n\r\nAlso Electron.app does work if I download it from https://github.com/atom/electron/releases/tag/v0.28.1"},"comment":{"url":"https://api.github.com/repos/mafintosh/electron-prebuilt/issues/comments/128365760","html_url":"https://github.com/mafintosh/electron-prebuilt/issues/42#issuecomment-128365760","issue_url":"https://api.github.com/repos/mafintosh/electron-prebuilt/issues/42","id":128365760,"user":{"login":"mrbabbs","id":2573159,"avatar_url":"https://avatars.githubusercontent.com/u/2573159?v=3","gravatar_id":"","url":"https://api.github.com/users/mrbabbs","html_url":"https://github.com/mrbabbs","followers_url":"https://api.github.com/users/mrbabbs/followers","following_url":"https://api.github.com/users/mrbabbs/following{/other_user}","gists_url":"https://api.github.com/users/mrbabbs/gists{/gist_id}","starred_url":"https://api.github.com/users/mrbabbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrbabbs/subscriptions","organizations_url":"https://api.github.com/users/mrbabbs/orgs","repos_url":"https://api.github.com/users/mrbabbs/repos","events_url":"https://api.github.com/users/mrbabbs/events{/privacy}","received_events_url":"https://api.github.com/users/mrbabbs/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T13:31:56Z","updated_at":"2015-08-06T13:31:56Z","body":"I had the same problem on MacOSX 1.8.2 (on virtualbox) with electron 0.3.2 and 0.3.1.\r\n```\r\n[0806/150255:ERROR:http_transport_mac.mm(186)] Could not connect to the server.(NSURLErrorDomain -1004)\r\n```\r\nI received for the first time this error, when I started to use node module 'electron-packager', before I just downloaded manually the pre-build version of electron and copied inside the folder app and everthing worked well.\r\nOne of differents I saw between the package created with the node module and the other way was inside the folder Resources.\r\nIn the first case the folder contained only:\r\n- app.asar\r\n- default_app\r\n- app\r\n- atom.icns\r\n\r\nIn the second case there were:\r\n- app.asar\r\n- default_app\r\n- app\r\n- atom.icns\r\n- **\\*.lproj**\r\n\r\nI tried to copy/create one of the folders *.lprj (en.lprj) inside Resources folder and it worked again.\r\nContent of Resources folder:\r\n- app.asar\r\n- default_app\r\n- app\r\n- atom.icns\r\n- **en.lproj**\r\n\r\nI think you should try it."}}