did you resolve this issue?
Posts made by ahtashamabbasse
-
RE: Could we start Colyseus app with npm package forever?
-
RE: Use PM2, typescript for Heroku
We are also facing same issue, other projects is working fine but colyseus isn't working fine. Looking forward to seeing your assistance @endel
"scripts": { "start": "ts-node index.ts", "bundle-colyseus-client": "browserify ./node_modules/colyseus.js/lib/index.js -s Colyseus -o static/colyseus.js", "build": "npm run bundle-colyseus-client", "heroku-postbuild": "npm run build" },
Please check the below link too.
https://stackoverflow.com/questions/54767053/nodejs-server-doesnt-start-with-pm2/54786719#54786719 -
RE: Array handling in colyseus.
thanks for your reply it means alot for us. We will try it.
-
Array handling in colyseus.
How to get array in unity from colyseus state?
-
Could we start Colyseus app with npm package forever?
We are facing some issue while using npm package forever Trying to restart the server automatically after crash.
Below is the code.
Before
"start":"nodemon --watch '**/*.ts' --exec ts-node index.ts""
After
"start": "forever start --minUptime 1000 --spinSleepTime 10000 ./index.ts",
"scripts": { "start": "forever start --minUptime 1000 --spinSleepTime 10000 ./index.ts", "bundle-colyseus-client": "browserify ./node_modules/colyseus.js/lib/index.js -s Colyseus -o static/colyseus.js", "build": "npm run bundle-colyseus-client", "heroku-postbuild": "npm run build" }
Server Stop after processing file
-
RE: How to create new project from scratch??
You can start working from it Sample Project easily just modify it as per your requirements.