Skip to content
This repository has been archived by the owner on Mar 21, 2020. It is now read-only.

微信小程序使用时报错 #29

Open
muou2125 opened this issue Apr 11, 2018 · 3 comments
Open

微信小程序使用时报错 #29

muou2125 opened this issue Apr 11, 2018 · 3 comments

Comments

@muou2125
Copy link

muou2125 commented Apr 11, 2018

微信小程序使用中,微信开发者工具上可以连接上无报错,但是在真机测试时,报错 TypeError:JSON.stringify cannot serialize cyclic structures. 如何解决?orz

@notedit
Copy link

notedit commented Apr 22, 2018

循环引用了吧

@gongzili456
Copy link
Member

@muou2125 请使用新版本 weapp.socket.io 可以结合演示示例 weapp chat demo 使用

@PHPJourney
Copy link

@gongzili456 我今天使用git拉取到本地重新编译运行,仍然出现这个错误,应用到app,经过测试,只要引用这个包就会出现该问题,初始化的时候产生,内部循环业务还没开始

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants