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
Cannot read property 'memory' of null #35
Comments
I'm getting same error but instead for cpu. |
My answer on pidusage: This is due to the fact that they don't catch the error if any. L151 here means:
@bonesoul please give a stack trace or the OS used for computing. |
tw0517tw
added a commit
to tw0517tw/koa-monitor
that referenced
this issue
Oct 19, 2016
ref: RafalWilinski#35 On Windows machines, it sometimes occurs error.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I recently installed Express-status-monitor which seems to make use of pidusage and it is causing an error. The status page seems to function fine, but my nodejs app will randomly crash with the following error,
TypeError: Cannot read property 'memory' of null
at \node_modules\express-status-monitor\index.js line 43 col 25)
at ChildProcess. (\node_modules\pidusage\lib\stats.js line 151 col 16)
at emitTwo (events.js line 100 col 13)
at ChildProcess.emit (events.js line 185 col 7)
at maybeClose (internal/child_process.js line 827 col 16)
at Process.__dirname.ChildProcess._handle.onexit (internal/child_process.js line 211 col 5)
The text was updated successfully, but these errors were encountered: