{"action":"closed","issue":{"url":"https://api.github.com/repos/szwacz/electron-boilerplate/issues/156","repository_url":"https://api.github.com/repos/szwacz/electron-boilerplate","labels_url":"https://api.github.com/repos/szwacz/electron-boilerplate/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/szwacz/electron-boilerplate/issues/156/comments","events_url":"https://api.github.com/repos/szwacz/electron-boilerplate/issues/156/events","html_url":"https://github.com/szwacz/electron-boilerplate/issues/156","id":153599950,"number":156,"title":"How to run gulp command in my application.","user":{"login":"kenzouno1","id":1946802,"avatar_url":"https://avatars.githubusercontent.com/u/1946802?v=3","gravatar_id":"","url":"https://api.github.com/users/kenzouno1","html_url":"https://github.com/kenzouno1","followers_url":"https://api.github.com/users/kenzouno1/followers","following_url":"https://api.github.com/users/kenzouno1/following{/other_user}","gists_url":"https://api.github.com/users/kenzouno1/gists{/gist_id}","starred_url":"https://api.github.com/users/kenzouno1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenzouno1/subscriptions","organizations_url":"https://api.github.com/users/kenzouno1/orgs","repos_url":"https://api.github.com/users/kenzouno1/repos","events_url":"https://api.github.com/users/kenzouno1/events{/privacy}","received_events_url":"https://api.github.com/users/kenzouno1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-07T15:23:34Z","updated_at":"2016-06-04T08:45:30Z","closed_at":"2016-06-04T08:45:30Z","body":"I'm installed module gulp and run test task alert string \"Hello world\".\r\nAfter release to exe file i'm run app but response a error message \"Local gulp not found\".\r\nHow to i can use gulp in my application?\r\n\r\nmy app.js file\r\n\r\nimport gulp from 'gulp';\r\nfunction runCmd(cmd) {\r\n\tconsole.log('Running command '+cmd);\r\n\tvar exec = require('child_process').exec;\r\n\tvar child = exec(cmd);\r\n\tchild.stdout.on('data', function(data) {\r\n\t    console.log(data);\r\n\r\n\t});\r\n\tchild.stderr.on('data', function(data) {\r\n\t    console.log(data);\r\n\t});\r\n}\r\ndocument.addEventListener('DOMContentLoaded', function () {\r\n    document.getElementById('greet').innerHTML = greet();\r\n    document.getElementById('platform-info').innerHTML = os.platform();\r\n    document.getElementById('env-name').innerHTML = env.name;\r\n    runCmd('gulp');\r\n});\r\n\r\n\r\nand app/package.json\r\n\r\n \"dependencies\": {\r\n    \"fs-jetpack\": \"^0.7.0\",\r\n    \"gulp\": \"^3.9.1\"\r\n  },"}}
{"actor":{"display_login":"szwacz"}}