Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'send' of undefined #93

Open
lmerega opened this issue Dec 13, 2022 · 1 comment
Open

TypeError: Cannot read property 'send' of undefined #93

lmerega opened this issue Dec 13, 2022 · 1 comment

Comments

@lmerega
Copy link

lmerega commented Dec 13, 2022

Hallo, I cloned this repo on my arm64 Debian server.
The problem is that now I have this error:
TypeError: Cannot read property 'send' of undefined
at /root/voicy/dist/helpers/urlToText.js:57:16
at new Promise ()
at urlToText (/root/voicy/dist/helpers/urlToText.js:47:12)
at /root/voicy/dist/handlers/handleAudio.js:74:83
at Generator.next ()
at fulfilled (/root/voicy/dist/handlers/handleAudio.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {

Any idea?

Thanks

Luca

@backmeupplz
Copy link
Owner

Check if whatever object you use "send" function on at urlToText.js:47 is not undefined

my guess is that you disabled the cluster api

the easiest way to fix it is to run voicy on a multi-CPU server

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

No branches or pull requests

2 participants