53 Replies
I will fix
Is the version updated?
xenial-blackOP•3y ago
yes

Did you start the package?
<moon>.init(id)
xenial-blackOP•3y ago
ofcause
#clientId object is declared in package init
xenial-blackOP•3y ago
this i found https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields
Private class features - JavaScript | MDN
Class fields are public by default, but private class members can be created by using a hash # prefix. The privacy encapsulation of these class features is enforced by JavaScript itself.
But did you start the package?
#clientId;
It is undefined above the constructor
Its value is changed when package is started
xenial-blackOP•3y ago
i started

GG @Nah, you just advanced to level 1!
xenial-blackOP•3y ago
and i can receive the node create event

What version of your node
19?
xenial-blackOP•3y ago
v16.17.0
@MOTO
rising-crimson•3y ago
Oq?
Não sei, mais acho que o nodejs mudou a forma das coisas privatizadas
rising-crimson•3y ago
Não
Se coloco
static #clientId;
Ai aparece que o objeto não existe
rising-crimson•3y ago
Tou usando um monte de classes privadas e não tive q alterar o código
Tou na recente
18
rising-crimson•3y ago
Eu tbm
Também não da erro
rising-crimson•3y ago
Repl não tá aceitando 16
xenial-blackOP•3y ago
so i update it to v18.12.1?

rising-crimson•3y ago
>-> deve ser um bug
Test update, because all our projects are working correctly
xenial-blackOP•3y ago
👌🏻
rising-crimson•3y ago
Nunca vi esse erro ( ͡°ᴥ ͡° ʋ)
É quando não é encontrado objeto privatizado antes do contrutor
rising-crimson•3y ago
Eu sei
Soq nunca vi q eu falei
Vou ver os reports
xenial-blackOP•3y ago
it still have this error

We are researching this error, we already give a touch
xenial-blackOP•3y ago
thx
Do you have access to node_modules?
Try putting it in MoonlinkManager.js
line 34
this.updateVoiceState.bind(this)
.
xenial-blackOP•3y ago

GG @Nah, you just advanced to level 2!
xenial-blackOP•3y ago
i found it works

@MOTO
rising-crimson•3y ago
Oi
Vamos ter qu atualizar as classes privadas
rising-crimson•3y ago
Eu não sei mexer em classes privadas
Tentei só uma vez
Você vai me ajudar, que a internet aqui do meu tio tá lenta demais
rising-crimson•3y ago
Tá
xenial-blackOP•3y ago
i just tried to remove
#
from #clientId
and it has no error anymoreupdate the package and test
xenial-blackOP•3y ago
no error more!
thx for help
if another error appears, just let me know, I'm in a place where the internet is terrible to do a lot of things
Have a great day :)
xenial-blackOP•3y ago
you too
rising-crimson•3y ago
If you found bugs, report for us
xenial-blackOP•3y ago
Error on
@Rest/MakeRequest.js
Suggest:

we will update soon
xenial-blackOP•3y ago
thx
New version published
Thanks for the suggestion, and have a great day. :)
xenial-blackOP•3y ago
you too