Cannot destructure property 'stanza' of 'ctx' as it is undefined #982
Unanswered
Domingez43
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Never used/tested xmpp.js on windows. Can you try in WSL? I suggest looking at xmpp.js code where it is throwing and trying to found out what's going on. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, im trying to connect to the FCM endpoint and i still get this error:
`node_modules@xmpp\stream-features\index.js:17
const { stanza } = ctx;
^
TypeError: Cannot destructure property 'stanza' of 'ctx' as it is undefined.
at Client.starttls ←[90m(C:\Users\ASUS\OneDrive\Počítač\BACKENDIK\←[39mnode_modules\←[4m@xmpp←[24m\stream-features\index.js:17:15←[90m)←[39m
at Object. ←[90m(C:\Users\ASUS\OneDrive\Počítač\BACKENDIK\←[39mmessage.js:36:6←[90m)←[39m
←[90m at Module._compile (node:internal/modules/cjs/loader:1218:14)←[39m
←[90m at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)←[39m
←[90m at Module.load (node:internal/modules/cjs/loader:1081:32)←[39m
←[90m at Module._load (node:internal/modules/cjs/loader:922:12)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)←[39m
←[90m at node:internal/main/run_main_module:23:47←[39m
Node.js v18.13.0`
Here is my code, its basically edited code from readme. I tried reinstalling packages, but nothing work for me
Beta Was this translation helpful? Give feedback.
All reactions