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

punycode module is deprecated #5923

Open
ParkerOu opened this issue Nov 27, 2024 · 0 comments
Open

punycode module is deprecated #5923

ParkerOu opened this issue Nov 27, 2024 · 0 comments

Comments

@ParkerOu
Copy link

What's going wrong?

I'm getting the warning:

(node:11582) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

How could we reproduce this issue?

pm2 start <pm2-config>

Supporting information

# Run the following commands
$ pm2 report
--- PM2 report ----------------------------------------------------------------
Date                 : Wed Nov 27 2024 06:30:53 GMT+0000 (Coordinated Universal Time)
===============================================================================
--- Daemon -------------------------------------------------
pm2d version         : 5.4.3
node version         : 22.11.0
node path            : /usr/bin/pm2
argv                 : /usr/bin/node,/usr/lib/node_modules/pm2/lib/Daemon.js
argv0                : node
user                 : my-user
uid                  : 1000
gid                  : 1000
uptime               : 7min
===============================================================================
--- CLI ----------------------------------------------------
local pm2            : 5.4.3
node version         : 22.11.0
node path            : /usr/bin/pm2
argv                 : /usr/bin/node,/usr/bin/pm2,report
argv0                : node
user                 : my-user
uid                  : 1000
gid                  : 1000
===============================================================================
--- System info --------------------------------------------
arch                 : x64
platform             : linux
type                 : Linux
cpus                 : Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
cpus nb              : 1
freemem              : 407793664
totalmem             : 937512960
home                 : /home/my-user
===============================================================================
--- PM2 list -----------------------------------------------
┌────┬──────────────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name                     │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├────┼──────────────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 1  │ my-repo                  │ default     │ 1.1.1   │ fork    │ 11630    │ 6m     │ 1    │ online    │ 0.3%     │ 88.7mb   │ my-user   │ disabled │
└────┴──────────────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
Module
┌────┬──────────────────────────────┬───────────────┬──────────┬──────────┬──────┬──────────┬──────────┬──────────┐
│ id │ module                       │ version       │ pid      │ status   │ ↺    │ cpu      │ mem      │ user     │
├────┼──────────────────────────────┼───────────────┼──────────┼──────────┼──────┼──────────┼──────────┼──────────┤
│ 0  │ pm2-logrotate                │ 2.7.0         │ 11556    │ online   │ 0    │ 0.3%     │ 66.7mb   │ my-user   │
└────┴──────────────────────────────┴───────────────┴──────────┴──────────┴──────┴──────────┴──────────┴──────────┘
===============================================================================
--- Daemon logs --------------------------------------------
/home/my-user/.pm2/pm2.log last 20 lines:
PM2        | 2024-11-27T06:23:50: PM2 log: Current arch         : x64
PM2        | 2024-11-27T06:23:50: PM2 log: PM2 home             : /home/my-user/.pm2
PM2        | 2024-11-27T06:23:50: PM2 log: PM2 PID file         : /home/my-user/.pm2/pm2.pid
PM2        | 2024-11-27T06:23:50: PM2 log: RPC socket file      : /home/my-user/.pm2/rpc.sock
PM2        | 2024-11-27T06:23:50: PM2 log: BUS socket file      : /home/my-user/.pm2/pub.sock
PM2        | 2024-11-27T06:23:50: PM2 log: Application log path : /home/my-user/.pm2/logs
PM2        | 2024-11-27T06:23:50: PM2 log: Worker Interval      : 30000
PM2        | 2024-11-27T06:23:50: PM2 log: Process dump file    : /home/my-user/.pm2/dump.pm2
PM2        | 2024-11-27T06:23:50: PM2 log: Concurrent actions   : 2
PM2        | 2024-11-27T06:23:50: PM2 log: SIGTERM timeout      : 1600
PM2        | 2024-11-27T06:23:50: PM2 log: ===============================================================================
PM2        | 2024-11-27T06:23:50: PM2 log: App [pm2-logrotate:0] starting in -fork mode-
PM2        | 2024-11-27T06:23:50: PM2 log: App [pm2-logrotate:0] online
PM2        | 2024-11-27T06:23:55: PM2 log: App [my-repo:1] starting in -fork mode-
PM2        | 2024-11-27T06:23:55: PM2 log: App [my-repo:1] online
PM2        | 2024-11-27T06:24:50: PM2 log: Stopping app:my-repo id:1
PM2        | 2024-11-27T06:24:51: PM2 log: App [my-repo:1] exited with code [0] via signal [SIGINT]
PM2        | 2024-11-27T06:24:51: PM2 log: pid=11582 msg=process killed
PM2        | 2024-11-27T06:24:51: PM2 log: App [my-repo:1] starting in -fork mode-
PM2        | 2024-11-27T06:24:51: PM2 log: App [my-repo:1] online
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant