eggjs / eggjs/egg

egg js 如何可以运行在IIS中?

Open
#5,177 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

非常喜欢eggjs, 近期尝试做一些小项目跑着玩,运行在IISNode中,
使用IIS Node 运行express 是可以,但尝试使用egg js 时碰到一些问题,
如下:
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
2023-04-23 16:07:56,156 ERROR 10488 nodejs.AgentWorkerDiedError: [master] agent_worker#1:26512 died (code: 1, signal: null)
at Master.onAgentExit (E:\NodejsApplications\egg-short-link-sm\node_modules\egg-cluster\lib\master.js:316:17)
at Master.emit (node:events:513:28)
at Messenger.sendToMaster (E:\NodejsApplications\egg-short-link-sm\node_modules\egg-cluster\lib\utils\messenger.js:137:17)
at Messenger.send (E:\NodejsApplications\egg-short-link-sm\node_modules\egg-cluster\lib\utils\messenger.js:102:12)
at ChildProcess. (E:\NodejsApplications\egg-short-link-sm\node_modules\egg-cluster\lib\utils\mode\impl\process\agent.js:89:22)
at Object.onceWrapper (node:events:628:26)
at ChildProcess.emit (node:events:513:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
name: "AgentWorkerDiedError"
不知如何解决?或是否有其它方式?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.