SocketCluster / SocketCluster/socketcluster

Running socketcluster using pm2 or forever keep display blank node.exe cmd

Open
#440 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
6.2k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

Hi I'm and my team try to develop an app using socketcluster and now want to deploy it using pm2 at begin

But when we try to deploy it using pm2 and latter I try to use forever it seem it faced same issue

Step to reproduce
Install latest socket cluster version using npm
Create new project or using code from master branch
Try to run sample project using pm2(or forever)
forever start --killSignal=SIGTERM server.js -w 2 -s 2
pm2 start server.js

Image 1: start using forever
1

Image 2: Same issue happen
2

Image 3: start using pm2
3

I'm running win 10
Node v8.11.1

Is there any that I doing wrong, is there a way to work around it ? Or this is an issue

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the sample project's server.js and reproduce the behavior on Windows 10 using Node v8.11.1, first directly and then with the listed forever and pm2 commands. Compare the console output and runtime behavior, then verify that the sample runs correctly under the selected process manager or document a confirmed workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
backend, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.