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

app info not working #1029

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

app info not working #1029

danymar24 opened this issue Feb 20, 2015 · 1 comment

Comments

@danymar24
Copy link

Hello, i have updated node to the version 0.12 and i found that the pm2 info id it kind of doesn't works, the command gives me the info of the app but it also gives me this error:

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

@jshkurti
Copy link
Contributor

Hey,
It was fixed, it will be on the next release (which is coming very soon).
Meanwhile, you can $ npm install git://github.com/Unitech/pm2#master -g and then $ pm2 update and it will be fine :)

Thanks for the feedback.

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

2 participants