如果你在mqtt连接服务的时候出现了 n.createConnection is not a function的问题

报错版本: mqtt 4.2.x 版本
可以换成: mqtt 4.0.1 版本 试下
降低版本,并且将 ‘^’ 符号给去掉

mqtt n.createConnection is not a function --分析
最新推荐文章于 2024-05-10 21:46:03 发布
博客指出在使用mqtt连接服务时,若出现n.createConnection is not a function的问题,且报错版本为mqtt 4.2.x,可尝试换成mqtt 4.0.1版本,同时去掉‘^’符号来解决。
581

被折叠的 条评论
为什么被折叠?



