{"action":"closed","issue":{"url":"https://api.github.com/repos/frankhale/electron-with-express/issues/9","repository_url":"https://api.github.com/repos/frankhale/electron-with-express","labels_url":"https://api.github.com/repos/frankhale/electron-with-express/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/frankhale/electron-with-express/issues/9/comments","events_url":"https://api.github.com/repos/frankhale/electron-with-express/issues/9/events","html_url":"https://github.com/frankhale/electron-with-express/issues/9","id":293281425,"number":9,"title":"Node server not running when built with asar","user":{"login":"arrie1992","id":1241304,"avatar_url":"https://avatars1.githubusercontent.com/u/1241304?v=4","gravatar_id":"","url":"https://api.github.com/users/arrie1992","html_url":"https://github.com/arrie1992","followers_url":"https://api.github.com/users/arrie1992/followers","following_url":"https://api.github.com/users/arrie1992/following{/other_user}","gists_url":"https://api.github.com/users/arrie1992/gists{/gist_id}","starred_url":"https://api.github.com/users/arrie1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrie1992/subscriptions","organizations_url":"https://api.github.com/users/arrie1992/orgs","repos_url":"https://api.github.com/users/arrie1992/repos","events_url":"https://api.github.com/users/arrie1992/events{/privacy}","received_events_url":"https://api.github.com/users/arrie1992/received_events","type":"User","site_admin":false},"labels":[{"id":258913156,"url":"https://api.github.com/repos/frankhale/electron-with-express/labels/enhancement","name":"enhancement","color":"5319e7","default":true}],"state":"closed","locked":false,"assignee":{"login":"frankhale","id":190154,"avatar_url":"https://avatars1.githubusercontent.com/u/190154?v=4","gravatar_id":"","url":"https://api.github.com/users/frankhale","html_url":"https://github.com/frankhale","followers_url":"https://api.github.com/users/frankhale/followers","following_url":"https://api.github.com/users/frankhale/following{/other_user}","gists_url":"https://api.github.com/users/frankhale/gists{/gist_id}","starred_url":"https://api.github.com/users/frankhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankhale/subscriptions","organizations_url":"https://api.github.com/users/frankhale/orgs","repos_url":"https://api.github.com/users/frankhale/repos","events_url":"https://api.github.com/users/frankhale/events{/privacy}","received_events_url":"https://api.github.com/users/frankhale/received_events","type":"User","site_admin":false},"assignees":[{"login":"frankhale","id":190154,"avatar_url":"https://avatars1.githubusercontent.com/u/190154?v=4","gravatar_id":"","url":"https://api.github.com/users/frankhale","html_url":"https://github.com/frankhale","followers_url":"https://api.github.com/users/frankhale/followers","following_url":"https://api.github.com/users/frankhale/following{/other_user}","gists_url":"https://api.github.com/users/frankhale/gists{/gist_id}","starred_url":"https://api.github.com/users/frankhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankhale/subscriptions","organizations_url":"https://api.github.com/users/frankhale/orgs","repos_url":"https://api.github.com/users/frankhale/repos","events_url":"https://api.github.com/users/frankhale/events{/privacy}","received_events_url":"https://api.github.com/users/frankhale/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-01-31T19:25:51Z","updated_at":"2018-02-07T18:48:02Z","closed_at":"2018-02-07T18:48:02Z","author_association":"NONE","body":"Hi,\r\n\r\nI did insert the following lines of code:\r\n`const app = require('electron').remote.app;\r\n      const node = spawn(\".\\\\node.exe\", [\"./express-app/bin/www\"], { cwd: app.getAppPath() });`\r\n\r\nIm running the following command to package:\r\n`electron-packager . --overwrite --platform=win32 --arch=x64 --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\\\"Electron Tutorial App\\\"\r\n--asar`\r\n\r\nWhen I run the program, the node server isnt starting..\r\n\r\nWhen I'm running the following command ( no asar flag):\r\n`electron-packager . --overwrite --platform=win32 --arch=x64 --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\\\"Electron Tutorial App\\\" `\r\n\r\nIt runs fine.. What im doing wrong?\r\n\r\nThank you in advance!"}}
{"actor":{"display_login":"frankhale"}}