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

Did you start the package?
<moon>.init(id)
unwilling-turquoiseOP•3y ago
ofcause
#clientId object is declared in package init
unwilling-turquoiseOP•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
unwilling-turquoiseOP•3y ago
i started

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

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

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

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

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

@MOTO
deep-jade•3y ago
Oi
Vamos ter qu atualizar as classes privadas
deep-jade•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
deep-jade•3y ago
Tá
unwilling-turquoiseOP•3y ago
i just tried to remove
#
from #clientId
and it has no error anymoreupdate the package and test
unwilling-turquoiseOP•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 :)
unwilling-turquoiseOP•3y ago
you too
deep-jade•3y ago
If you found bugs, report for us
unwilling-turquoiseOP•3y ago
Error on
@Rest/MakeRequest.js
Suggest:

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