Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

忽略部分 pm2 错误 #275

Open
Diablohu opened this issue Sep 8, 2020 · 0 comments
Open

忽略部分 pm2 错误 #275

Diablohu opened this issue Sep 8, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Diablohu
Copy link
Member

Diablohu commented Sep 8, 2020

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.
@Diablohu Diablohu added the enhancement New feature or request label Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant