Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Issue when starting with pm2? #31

Open
developedbyalex opened this issue Oct 20, 2023 · 3 comments
Open

Issue when starting with pm2? #31

developedbyalex opened this issue Oct 20, 2023 · 3 comments

Comments

@developedbyalex
Copy link

developedbyalex commented Oct 20, 2023

Using command:
pm2 start accountHandler.js --name SteamBooster

Error:

1|SteamBooster | * Detected 2 account(s) in the config.
1|SteamBooster | * Starting idling 2 account(s).
1|SteamBooster | * Press CTRL + C to exit.
1|SteamBooster | * Timer: 00:00:01
1|SteamBooster | TypeError: process.stdout.cursorTo is not a function
1|SteamBooster | at EventEmitter. (/home/alex2/vaporBooster-main/src/hourBooster.js:165:19)
1|SteamBooster | at /home/alex2/vaporBooster-main/node_modules/easytimer.js/dist/easytimer.js:171:25
1|SteamBooster | at Array.forEach ()
1|SteamBooster | at EventEmitter.emit (/home/alex2/vaporBooster-main/node_modules/easytimer.js/dist/easytimer.js:170:26)
1|SteamBooster | at dispatchEvent (/home/alex2/vaporBooster-main/node_modules/easytimer.js/dist/easytimer.js:597:20)
1|SteamBooster | at dispatchEvents (/home/alex2/vaporBooster-main/node_modules/easytimer.js/dist/easytimer.js:360:9)
1|SteamBooster | at Timeout.updateTimerAndDispatchEvents [as _onTimeout] (/home/alex2/vaporBooster-main/node_modules/easytimer.js/dist/easytimer.js:329:7)
1|SteamBooster | at listOnTimeout (node:internal/timers:559:17)
1|SteamBooster | at processTimers (node:internal/timers:502:7)
PM2 | App [SteamBooster:1] exited with code [1] via signal [SIGINT]
PM2 | App [SteamBooster:1] starting in -fork mode-
PM2 | App [SteamBooster:1] online

@f1xc0d3
Copy link

f1xc0d3 commented Dec 14, 2023

same

@f1xc0d3
Copy link

f1xc0d3 commented Dec 14, 2023

try disable clock for pm2 or use screen

@developedbyalex
Copy link
Author

Did it work for you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants