{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Error: EMFILE: too many open files, open '/var/user/package.json'\n at Object.openSync (fs.js:438:3)\n at Object.readFileSync (fs.js:343:35)\n at Object.exports.readJSONSync (/var/user/node_modules/utility/lib/json.js:19:24)\n at new EggLoader (/var/user/node_modules/egg-core/lib/loader/egg_loader.js:44:24)\n at new AppWorkerLoader (/var/user/node_modules/egg/lib/loader/app_worker_loader.js:9:1)\n at new EggCore (/var/user/node_modules/egg-core/lib/egg.js:121:19)\n at new EggApplication (/var/user/node_modules/egg/lib/egg.js:47:5)\n at new Application (/var/user/node_modules/egg/lib/application.js:60:5)\n at Object.exports.tcbGetApp (/var/user/app.js:36:10)\n at Runtime.module.exports.main [as handler] (/var/user/tcbindex.js:21:23)","statusCode":430}
可复现问题的仓库地址(Reproduction Repo)
https://github.com/nanhupatar/tcb-egg-debug-demo
Node 版本号:v12.0
Eggjs 版本号:^2.15.1
相关插件名称与版本号(PlugIn and Name):mysql2 egg-sequelize
操作平台与版本号(Platform and Version):mac