TypeError: client.on is not a function, SDK won't initialize
已于 2023年6月29日 发布
I don't think anything changed on my end and in the past 24h, I'm getting "TypeError: client.on is not a function". It seems "client" returns "false" after initialization ("ZAFClient.init();")
I see the same error even if I start from scratch in a fresh folder: (from ZD quick start guide)
"npx @zendesk/zcli apps:new"
I tried all major browsers with the same results.
Is there a known issue? I don't see anything on the status page
0
4
4 条评论
Yosef Cohen
Heya,
So it looks like the reason for the issue was that my npm/node version was outdated. Once updated, it got back to life.
Thanks,
0
Tipene Hughes
Hi Yosef Cohen
I’ve tested the client.on method on my end and it appears to be functioning as expected. Are you initializing the ZAF client object before accessing the methods?
0
Yosef Cohen
https://support.zendesk.com/hc/en-us/community/posts/5877690864154-TypeError-client-on-is-not-a-function-SDK-won-t-initialize
0
Yosef Cohen
I now see there was an incident that seems related.
The error still show and I'm unable to develop my app
0
登录再写评论。