We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Warnings when executing any pm2 command
Execute the commands below in an environment as reported by the commands
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy
# Run the following commands terje@DEFMAN-MONITOR:~ $ env SHELL=/bin/bash NVM_INC=/home/terje/.nvm/versions/node/v20.13.1/include/node LANGUAGE=en_US:en SSH_AUTH_SOCK=/tmp/ssh-XXXXXXr1xU0S/agent.1982 SSH_AGENT_PID=1984 PWD=/home/terje LOGNAME=terje XDG_SESSION_TYPE=tty MOTD_SHOWN=pam HOME=/home/terje LANG=en_US.UTF-8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: SSH_CONNECTION=10.20.30.106 63566 10.20.30.40 22 NVM_DIR=/home/terje/.nvm LESSCLOSE=/usr/bin/lesspipe %s %s XDG_SESSION_CLASS=user TERM=xterm LESSOPEN=| /usr/bin/lesspipe %s USER=terje SHLVL=1 NVM_CD_FLAGS= XDG_SESSION_ID=1 XDG_RUNTIME_DIR=/run/user/1000 SSH_CLIENT=10.20.30.106 63566 22 XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop PATH=/home/terje/bin:/home/terje/.local/bin:/home/terje/.nvm/versions/node/v20.13.1/bin:/home/terje/.nvm/versions/node/v12.14.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/etc/bin/nodejs DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus NVM_BIN=/home/terje/.nvm/versions/node/v20.13.1/bin SSH_TTY=/dev/pts/1 _=/usr/bin/env OLDPWD=/home/terje/defman terje@DEFMAN-MONITOR:~ $ which node /home/terje/.nvm/versions/node/v20.13.1/bin/node terje@DEFMAN-MONITOR:~ $ which pm2 /usr/local/bin/pm2 terje@DEFMAN-MONITOR:~ $ node -v v20.13.1 terje@DEFMAN-MONITOR:~ $ pm2 -v (node:5708) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) (node:5708) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'find' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'head' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'set' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'test' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'to' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency (node:5708) Warning: Accessing non-existent property 'which' of module exports inside circular dependency 2.6.1 terje@DEFMAN-MONITOR:~ $ head -n 50 ~/.pm2/pm2.log 2019-12-17 16:08:32: Starting execution sequence in -cluster mode- for app name:defman id:0 2019-12-17 16:08:32: App name:defman id:0 online 2019-12-17 16:08:32: Starting execution sequence in -cluster mode- for app name:defman id:1 2019-12-17 16:08:33: App name:defman id:1 online 2019-12-17 16:08:33: Starting execution sequence in -cluster mode- for app name:defman id:2 2019-12-17 16:08:33: App name:defman id:2 online 2019-12-17 16:08:33: Starting execution sequence in -cluster mode- for app name:defman id:3 2019-12-17 16:08:33: App name:defman id:3 online 2019-12-17 16:08:54: Starting execution sequence in -cluster mode- for app name:defman id:0 2019-12-17 16:08:54: Starting execution sequence in -cluster mode- for app name:defman id:1 2019-12-17 16:08:54: App name:defman id:0 online 2019-12-17 16:08:54: App name:defman id:1 online 2019-12-17 16:08:56: -reload- New worker listening 2019-12-17 16:08:56: Stopping app:defman id:_old_1 2019-12-17 16:08:56: -reload- New worker listening 2019-12-17 16:08:56: Stopping app:defman id:_old_0 2019-12-17 16:08:56: App name:defman id:_old_1 disconnected 2019-12-17 16:08:56: App [defman] with id [_old_1] and pid [23576], exited with code [2] via signal [SIGINT] 2019-12-17 16:08:56: App name:defman id:_old_0 disconnected 2019-12-17 16:08:56: App [defman] with id [_old_0] and pid [23566], exited with code [2] via signal [SIGINT] 2019-12-17 16:08:56: pid=23576 msg=process killed 2019-12-17 16:08:56: pid=23566 msg=process killed 2019-12-17 16:08:56: Starting execution sequence in -cluster mode- for app name:defman id:2 2019-12-17 16:08:56: Starting execution sequence in -cluster mode- for app name:defman id:3 2019-12-17 16:08:56: App name:defman id:2 online 2019-12-17 16:08:56: App name:defman id:3 online 2019-12-17 16:08:59: -reload- New worker listening 2019-12-17 16:08:59: Stopping app:defman id:_old_3 2019-12-17 16:08:59: -reload- New worker listening 2019-12-17 16:08:59: Stopping app:defman id:_old_2 2019-12-17 16:08:59: App name:defman id:_old_3 disconnected 2019-12-17 16:08:59: App [defman] with id [_old_3] and pid [23636], exited with code [2] via signal [SIGINT] 2019-12-17 16:08:59: App name:defman id:_old_2 disconnected 2019-12-17 16:08:59: App [defman] with id [_old_2] and pid [23606], exited with code [2] via signal [SIGINT] 2019-12-17 16:08:59: pid=23636 msg=process killed 2019-12-17 16:08:59: pid=23606 msg=process killed 2019-12-17 16:12:50: Starting execution sequence in -cluster mode- for app name:defman id:0 2019-12-17 16:12:50: Starting execution sequence in -cluster mode- for app name:defman id:1 2019-12-17 16:12:50: App name:defman id:1 online 2019-12-17 16:12:50: App name:defman id:0 online 2019-12-17 16:12:52: -reload- New worker listening 2019-12-17 16:12:52: Stopping app:defman id:_old_1 2019-12-17 16:12:52: -reload- New worker listening 2019-12-17 16:12:52: Stopping app:defman id:_old_0 2019-12-17 16:12:52: App name:defman id:_old_1 disconnected 2019-12-17 16:12:52: App [defman] with id [_old_1] and pid [23727], exited with code [2] via signal [SIGINT] 2019-12-17 16:12:52: App name:defman id:_old_0 disconnected 2019-12-17 16:12:52: App [defman] with id [_old_0] and pid [23722], exited with code [2] via signal [SIGINT] 2019-12-17 16:12:52: pid=23727 msg=process killed 2019-12-17 16:12:52: Starting execution sequence in -cluster mode- for app name:defman id:2
Observe NVM_INC, NVM_BIN and PATH, which node and node -v (v20.13.1) pm2 -v reports lots of warnings and version 2.6.1
All warnings disapear if I use node v12.14.0 so it seams as a pm2 problem related to node v20.13.1 or may be a node v20.13.1 problem
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What's going wrong?
Warnings when executing any pm2 command
How could we reproduce this issue?
Execute the commands below in an environment as reported by the commands
Supporting information
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
Observe NVM_INC, NVM_BIN and PATH, which node and node -v (v20.13.1)
pm2 -v reports lots of warnings and version 2.6.1
All warnings disapear if I use node v12.14.0 so it seams as a pm2 problem related to node v20.13.1 or may be a node v20.13.1 problem
The text was updated successfully, but these errors were encountered: