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 条评论

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


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


I now see there was an incident that seems related.

The error still show and I'm unable to develop my app

0


登录再写评论。

找不到所需的内容?

新建帖子