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: Object #<ChildProcess> has no method 'disconnect' #990

Closed
cayasso opened this issue Feb 2, 2015 · 5 comments
Closed

TypeError: Object #<ChildProcess> has no method 'disconnect' #990

cayasso opened this issue Feb 2, 2015 · 5 comments

Comments

@cayasso
Copy link

cayasso commented Feb 2, 2015

I am getting this error message running $ pm2 flush while client is tailing logs.

usr/local/lib/node_modules/pm2/lib/Log.js:94
    tail.disconnect();
         ^
TypeError: Object #<ChildProcess> has no method 'disconnect'
    at Socket.<anonymous> (/usr/local/lib/node_modules/pm2/lib/Log.js:94:10)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (_stream_readable.js:748:14)
    at Socket.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:410:10)
    at emitReadable (_stream_readable.js:406:5)
    at readableAddChunk (_stream_readable.js:168:9)
    at Socket.Readable.push (_stream_readable.js:130:10)
    at Pipe.onread (net.js:528:21)
@Unitech
Copy link
Owner

Unitech commented Feb 5, 2015

Which Node.js version?

@cayasso
Copy link
Author

cayasso commented Feb 5, 2015

@Unitech I am using:
Node v0.10.29
npm@1.4.14
pm2@0.12.4

@platbr
Copy link

platbr commented Feb 11, 2015

Same issue here.
[root@localhost crawler]# node -v
v0.12.0
[root@localhost crawler]# pm2 -v
0.12.5
[root@localhost crawler]# npm -v
2.5.1

jshkurti added a commit that referenced this issue Feb 16, 2015
@jshkurti
Copy link
Contributor

Fixed : 4e579a7

Thanks for the feedback :)

@cayasso
Copy link
Author

cayasso commented Feb 16, 2015

Awesome!!!!

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

4 participants