Worker started, but bot not answering #89
Labels
No labels
bug
dependencies
duplicate
enhancement
help wanted
invalid
javascript
question
symphony
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/voicy#89
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
First of all, thanks for your work. I'm trying to self hosting it, so I clone the repo, created .env, launch yarn to download packages and then launch yarn start as you say in the docs gives me an error.
I explore the package json so I ended launching yarn develop to generate folders, the dist folder is generated and the app.js is launched. It says "Worker XXX started" but the bot dosn't answer to any messages, neither start nor help.
I've tried to add custom console.log on app.js, and I saw that code dosn't reach function runApp() {}, stops before.
I'm on CentOS 7 environment.
Any ideas? Thanks a lot.
try removing cluster api, maybe it's not working properly on your machine
Hi, thank you for your work
Trying to self-host it on WinServer, cannot run neither "yarn start" (command not found), nor "yarn run" (no binary scripts available).
any ideas?
@BigPelmeshka install WSL :)
Hi, I'm facing the same issue, did you manage to fix it? If so, how?
I opted for a Docker fork: https://github.com/EntrixIII/voicy-docker
King regards,
Hi all, I cannot understand what is wrong.
yarn distribute gives me back:
yarn run v1.22.19
$ node dist/app.js
Worker 7844 started
Done in 11.14s.
Please... ideas?
The docker version works flawlessly
TIA
Ok, I solved by changing:
if (Cluster.isPrimary) {
void runApp()
}
to
void runApp()