问题描述
- Converting circular structure to JSON错误
-
在运行pomelo的时候,提示at Object.stringify (native) at util.js:41:30 at String.replace (native) at Object.exports.format (util.js:35:23) at formatLogData (/home/game/GangCreed/game-server/node_modules/pomelo-logger/node_modules/log4js/lib/layouts.js:39:22) at colouredLayout (/home/game/GangCreed/game-server/node_modules/pomelo-logger/node_modules/log4js/lib/layouts.js:108:7) at Logger.<anonymous> (/home/game/GangCreed/game-server/node_modules/pomelo-logger/node_modules/log4js/lib/appenders/console.js:8:16) at Logger.emit (events.js:95:17) at Logger.log (/home/game/GangCreed/game-server/node_modules/pomelo-logger/node_modules/log4js/lib/logger.js:58:10) at Logger.(anonymous function) [as warn] (/home/game/GangCreed/game-server/node_modules/pomelo-logger/node_modules/log4js/lib/logger.js:77:30)
解决方案
http://blog.csdn.net/wangchun8926/article/details/41531191
解决方案二:
http://blog.csdn.net/huaye2007/article/details/9932705
http://stackoverflow.com/questions/21234436/uncaught-typeerror-converting-circular-structure-to-json
时间: 2024-11-10 01:08:43