-
Notifications
You must be signed in to change notification settings - Fork 13
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 'removeAllListeners' of null #19
Comments
Thanks for the report! Seems like the session socket is unexpectedly not
initializing, which would track with your belief that the pairing process
barfed.
I’ll look into why we’re not handling the error more gracefully, but to
answer your specific question—credential data is stored in the
$HOME/.config/playactor directory. You should be able to just delete the
JSON file in there and try again.
At some point I’ll add a `--register` flag, or perhaps an explicit `setup`
command, so you don’t have to delete that by hand every time….
…On Apr 5, 2021 at 2:11:56 PM, Daan Wijffels ***@***.***> wrote:
Hi there,
Love what you're making here, and thinking of porting it to home assistant
when I get it working.
However I get the following error when running any command:
TypeError: Cannot read property 'removeAllListeners' of null at
/usr/local/lib/node_modules/playactor/dist/remoteplay/session.js:125:16 at
Generator.next (<anonymous>) at fulfilled
(/usr/local/lib/node_modules/playactor/dist/remoteplay/session.js:5:58) at
processTicksAndRejections (node:internal/process/task_queues:94:5)
I believe something went wrong in the pairing process, is there a way to
delete the previously made connection? Because I get the same error when
running the login command, which I did not get running the command the
first time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#19>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGHIFQA5IAEKDRW64UXGY3THH4OZANCNFSM42NG5VPQ>
.
|
Thanks for the quick answer! Removed the directory, tried login in (this worked) but got the same error.
|
I just saw I got this error on an earlier attempt:
Don't know if it's helpful |
I am regularly getting the same Absolutely unsure if these are related at all... but along with these errors, I'm also having a lot of trouble getting commands other than On the rare occasions a command exits successfully, the actual function doesn't appear to work as intended.
|
Strange, I cannot seem to replicate the |
I'm using node v15.14.0 on macOS 11.2.3. Tried to run it on my debian server to see if it's a macOS problem. But I got this error:
I believe it has something to do with opening the browser |
Thanks! I can reproduce it on believe I have a fix. I'll be rolling on 0.2.1 shortly. |
Hi there,
Love what you're making here, and thinking of porting it to home assistant when I get it working.
However I get the following error when running any command:
TypeError: Cannot read property 'removeAllListeners' of null at /usr/local/lib/node_modules/playactor/dist/remoteplay/session.js:125:16 at Generator.next (<anonymous>) at fulfilled (/usr/local/lib/node_modules/playactor/dist/remoteplay/session.js:5:58) at processTicksAndRejections (node:internal/process/task_queues:94:5)
I believe something went wrong in the pairing process, is there a way to delete the previously made connection? Because I get the same error when running the
login
command, which I did not get running the command the first time.The text was updated successfully, but these errors were encountered: