{"action":"created","issue":{"url":"https://api.github.com/repos/desktop/dugite/issues/196","repository_url":"https://api.github.com/repos/desktop/dugite","labels_url":"https://api.github.com/repos/desktop/dugite/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/desktop/dugite/issues/196/comments","events_url":"https://api.github.com/repos/desktop/dugite/issues/196/events","html_url":"https://github.com/desktop/dugite/issues/196","id":331315713,"node_id":"MDU6SXNzdWUzMzEzMTU3MTM=","number":196,"title":"Issue using dugite with electron and webpack","user":{"login":"joecorkerton","id":20556001,"node_id":"MDQ6VXNlcjIwNTU2MDAx","avatar_url":"https://avatars3.githubusercontent.com/u/20556001?v=4","gravatar_id":"","url":"https://api.github.com/users/joecorkerton","html_url":"https://github.com/joecorkerton","followers_url":"https://api.github.com/users/joecorkerton/followers","following_url":"https://api.github.com/users/joecorkerton/following{/other_user}","gists_url":"https://api.github.com/users/joecorkerton/gists{/gist_id}","starred_url":"https://api.github.com/users/joecorkerton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joecorkerton/subscriptions","organizations_url":"https://api.github.com/users/joecorkerton/orgs","repos_url":"https://api.github.com/users/joecorkerton/repos","events_url":"https://api.github.com/users/joecorkerton/events{/privacy}","received_events_url":"https://api.github.com/users/joecorkerton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-11T19:18:13Z","updated_at":"2018-06-12T07:27:59Z","closed_at":null,"author_association":"NONE","body":"I am trying to test out dugite with a fresh electron project and I'm having problems getting it running. I'm using webpack to bundle the js, which is producing the following errors:\r\n\r\n`Module not found: Error: Can't resolve 'child_process' in '../node_modules/dugite/build/lib'`\r\n`Module not found: Error: Can't resolve 'fs' in '../node_modules/dugite/build/lib'`\r\n\r\nI tried setting the LOCAL_GIT_DIRECTORY environment variable but that did not resolve the issue.\r\n\r\nAny suggestions to get it working?"},"comment":{"url":"https://api.github.com/repos/desktop/dugite/issues/comments/396493117","html_url":"https://github.com/desktop/dugite/issues/196#issuecomment-396493117","issue_url":"https://api.github.com/repos/desktop/dugite/issues/196","id":396493117,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjQ5MzExNw==","user":{"login":"shiftkey","id":359239,"node_id":"MDQ6VXNlcjM1OTIzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/359239?v=4","gravatar_id":"","url":"https://api.github.com/users/shiftkey","html_url":"https://github.com/shiftkey","followers_url":"https://api.github.com/users/shiftkey/followers","following_url":"https://api.github.com/users/shiftkey/following{/other_user}","gists_url":"https://api.github.com/users/shiftkey/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftkey/subscriptions","organizations_url":"https://api.github.com/users/shiftkey/orgs","repos_url":"https://api.github.com/users/shiftkey/repos","events_url":"https://api.github.com/users/shiftkey/events{/privacy}","received_events_url":"https://api.github.com/users/shiftkey/received_events","type":"User","site_admin":true},"created_at":"2018-06-12T07:27:59Z","updated_at":"2018-06-12T07:27:59Z","author_association":"MEMBER","body":"@joecorkerton are you able to share an example webpack config for how you're doing the bundling? We do this with Desktop, but it'd be nice to have an agnostic demo project to help with troubleshooting, as this seems different to what we uncovered with bundling in #96."}}
{"actor":{"display_login":"shiftkey"}}