{"action":"created","issue":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/440","repository_url":"https://api.github.com/repos/SocketCluster/socketcluster","labels_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/440/comments","events_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/440/events","html_url":"https://github.com/SocketCluster/socketcluster/issues/440","id":355220174,"node_id":"MDU6SXNzdWUzNTUyMjAxNzQ=","number":440,"title":"Running socketcluster using pm2 or forever keep display blank node.exe cmd","user":{"login":"bebeo92","id":9253836,"node_id":"MDQ6VXNlcjkyNTM4MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/9253836?v=4","gravatar_id":"","url":"https://api.github.com/users/bebeo92","html_url":"https://github.com/bebeo92","followers_url":"https://api.github.com/users/bebeo92/followers","following_url":"https://api.github.com/users/bebeo92/following{/other_user}","gists_url":"https://api.github.com/users/bebeo92/gists{/gist_id}","starred_url":"https://api.github.com/users/bebeo92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebeo92/subscriptions","organizations_url":"https://api.github.com/users/bebeo92/orgs","repos_url":"https://api.github.com/users/bebeo92/repos","events_url":"https://api.github.com/users/bebeo92/events{/privacy}","received_events_url":"https://api.github.com/users/bebeo92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-29T15:40:03Z","updated_at":"2018-08-30T06:27:06Z","closed_at":null,"author_association":"NONE","body":"Hi I'm and my team try to develop an app using socketcluster and now want to deploy it using pm2 at begin\r\n\r\nBut when we try to deploy it using pm2 and latter I try to use forever it seem it faced same issue\r\n\r\nStep to reproduce\r\nInstall latest socket cluster version using npm\r\nCreate new project or using code from master branch\r\nTry to run sample project using pm2(or forever)\r\nforever start --killSignal=SIGTERM server.js -w 2 -s 2\r\npm2 start server.js\r\n\r\nImage 1: start using forever\r\n![1](https://user-images.githubusercontent.com/9253836/44798630-35e2a200-abdc-11e8-943f-80bff196236e.png)\r\n\r\nImage 2: Same issue happen\r\n![2](https://user-images.githubusercontent.com/9253836/44801701-f455f500-abe3-11e8-8512-441b10e4e2dd.png)\r\n\r\nImage 3: start using pm2\r\n![3](https://user-images.githubusercontent.com/9253836/44802224-58c58400-abe5-11e8-9a33-c08b744b82c0.png)\r\n\r\nI'm running win 10\r\nNode v8.11.1\r\n\r\nIs there any that I doing wrong, is there a way to work around it ? Or this is an issue"},"comment":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/comments/417204239","html_url":"https://github.com/SocketCluster/socketcluster/issues/440#issuecomment-417204239","issue_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/440","id":417204239,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzIwNDIzOQ==","user":{"login":"jondubois","id":1187447,"node_id":"MDQ6VXNlcjExODc0NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1187447?v=4","gravatar_id":"","url":"https://api.github.com/users/jondubois","html_url":"https://github.com/jondubois","followers_url":"https://api.github.com/users/jondubois/followers","following_url":"https://api.github.com/users/jondubois/following{/other_user}","gists_url":"https://api.github.com/users/jondubois/gists{/gist_id}","starred_url":"https://api.github.com/users/jondubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jondubois/subscriptions","organizations_url":"https://api.github.com/users/jondubois/orgs","repos_url":"https://api.github.com/users/jondubois/repos","events_url":"https://api.github.com/users/jondubois/events{/privacy}","received_events_url":"https://api.github.com/users/jondubois/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T06:27:06Z","updated_at":"2018-08-30T06:27:06Z","author_association":"MEMBER","body":"Otherwise, if you think that this issue can be solved inside SC, you can try playing around with SC's use of `fork`:\r\n\r\n- In main `socketcluster` module: https://github.com/SocketCluster/socketcluster/blob/master/scworkercluster.js#L181\r\n- In `sc-broker` dependency: https://github.com/SocketCluster/sc-broker/blob/master/index.js#L82"}}
{"actor":{"display_login":"jondubois"}}