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 describe gives Cannot call method 'toString' of undefined #1028

Closed
joula opened this issue Feb 20, 2015 · 1 comment
Closed

pm2 describe gives Cannot call method 'toString' of undefined #1028

joula opened this issue Feb 20, 2015 · 1 comment

Comments

@joula
Copy link

joula commented Feb 20, 2015

Here are the details:

/usr/local/lib/node_modules/pm2/node_modules/cli-table/lib/index.js:182
var contents = item.toString().split("\n").reduce(function (memo, l) {
^
TypeError: Cannot call method 'toString' of undefined
at /usr/local/lib/node_modules/pm2/node_modules/cli-table/lib/index.js:182:27
at Array.forEach (native)
at generateRow (/usr/local/lib/node_modules/pm2/node_modules/cli-table/lib/index.js:181:11)
at /usr/local/lib/node_modules/pm2/node_modules/cli-table/lib/index.js:275:16
at Table.forEach (native)
at Table.toString (/usr/local/lib/node_modules/pm2/node_modules/cli-table/lib/index.js:258:10)
at Object.UX.describeTable (/usr/local/lib/node_modules/pm2/lib/CliUx.js:96:24)
at /usr/local/lib/node_modules/pm2/lib/CLI.js:1146:12
at Array.forEach (native)
at /usr/local/lib/node_modules/pm2/lib/CLI.js:1145:18

I installed PM2 with:

npm install git://github.com/Unitech/pm2#master -g

@joula
Copy link
Author

joula commented Feb 20, 2015

Sorry, false alarm. When I executed "pm2 updatePM2" the above error disappeared.

@joula joula closed this as completed Feb 20, 2015
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