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

TypeError when describing a process #1013

Closed
catchdave opened this issue Feb 14, 2015 · 5 comments
Closed

TypeError when describing a process #1013

catchdave opened this issue Feb 14, 2015 · 5 comments

Comments

@catchdave
Copy link

Similar error, but different line as #423 and #685

Using latest pm2 (v0.12.5).

When describing a process, a type error occurs.
e.g. pm2 show 24

Describing process with pid 24 - name BLAH
┌───────────────────┬────────────────────────────────────────────────┐
│ status            │ online                                         │
│ name              │ BLAH                           │
│ id                │ 24                                             │
│ path              │BLAH               │
│ args              │                                                │
│ exec cwd          │ BLAH                        │
│ error log path    │ BLAH               │
│ out log path      │ BLAH                 │
│ pid path          │ BLAH │
│ mode              │ cluster_mode                                   │
│ node v8 arguments │                                                │
│ watch & reload    │ ✘                                              │
│ interpreter       │ node                                           │
│ restarts          │ 0                                              │
│ unstable restarts │ 0                                              │
│ uptime            │ 28s                                            │
│ created at        │ 2015-02-14T00:50:50.109Z                       │
└───────────────────┴────────────────────────────────────────────────┘
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 call method 'toString' of undefined
    at /usr/lib/node_modules/pm2/node_modules/cli-table/lib/index.js:182:27
    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
@NiklasMerz
Copy link

I got the same error

@soyuka
Copy link
Collaborator

soyuka commented Feb 14, 2015

We're on it, this will be fixed soon ;).
Le sam. 14 févr. 2015 à 11:38, MeisterRoerich notifications@github.com a
écrit :

I got the same error


Reply to this email directly or view it on GitHub
#1013 (comment).

@OSSDeveloper
Copy link

is the above error fixed?

@soyuka
Copy link
Collaborator

soyuka commented Feb 15, 2015

Is it closed ?
Le dim. 15 févr. 2015 à 22:57, Vijay notifications@github.com a écrit :

is the above error fixed?


Reply to this email directly or view it on GitHub
#1013 (comment).

@jshkurti
Copy link
Contributor

Fixed, thanks for the feedback :)
1627209

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

5 participants