Skip to content
This repository was archived by the owner on Mar 8, 2026. It is now read-only.
This repository was archived by the owner on Mar 8, 2026. It is now read-only.

忽略部分 pm2 错误 #275

@Diablohu

Description

@Diablohu
PM2 error: (node:14700) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'writable' of undefined
    at PubSocket.send (C:\Projects\@koot\_next\packages\koot\node_modules\pm2-axon\lib\sockets\pub.js:47:14)
    at EventEmitter.<anonymous> (C:\Projects\@koot\_next\packages\koot\node_modules\pm2\lib\Daemon.js:445:14)
    at EventEmitter.emit (C:\Projects\@koot\_next\packages\koot\node_modules\eventemitter2\lib\eventemitter2.js:330:22)
    at Object.console.<computed> [as log] (C:\Projects\@koot\_next\packages\koot\node_modules\pm2\lib\Utility.js:114:17)
    at C:\Projects\@koot\_next\packages\koot\bin\dev.js:640:21    
    at C:\Projects\@koot\_next\packages\koot\node_modules\pm2\lib\API.js:187:16
    at C:\Projects\@koot\_next\packages\koot\node_modules\pm2\lib\API\Modules\Modularizer.js:79:19
    at wrapper (C:\Projects\@koot\_next\packages\koot\node_modules\pm2\node_modules\async\internal\once.js:12:16)
    at replenish (C:\Projects\@koot\_next\packages\koot\node_modules\pm2\node_modules\async\internal\eachOfLimit.js:76:25)
    at C:\Projects\@koot\_next\packages\koot\node_modules\pm2\node_modules\async\internal\eachOfLimit.js:86:9
    at eachLimit (C:\Projects\@koot\_next\packages\koot\node_modules\pm2\node_modules\async\eachLimit.js:47:43)
    at awaitable (C:\Projects\@koot\_next\packages\koot\node_modules\pm2\node_modules\async\internal\awaitify.js:13:28)
    at launchTARModules (C:\Projects\@koot\_next\packages\koot\node_modules\pm2\lib\API\Modules\Modularizer.js:76:5)
    at C:\Projects\@koot\_next\packages\koot\node_modules\pm2\lib\API\Modules\Modularizer.js:68:7
    at wrapper (C:\Projects\@koot\_next\packages\koot\node_modules\pm2\node_modules\async\internal\once.js:12:16)
    at replenish (C:\Projects\@koot\_next\packages\koot\node_modules\pm2\node_modules\async\internal\eachOfLimit.js:76:25)
2020-08-28T23:10:26: PM2 error: (node:14700) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)  
2020-08-28T23:10:26: PM2 error: (node:14700) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions