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: process.memoryUsage is not a function. #3568

Closed
Electroid opened this issue Jul 7, 2023 · 0 comments · May be fixed by Neo00007/bun#5
Closed

TypeError: process.memoryUsage is not a function. #3568

Electroid opened this issue Jul 7, 2023 · 0 comments · May be fixed by Neo00007/bun#5
Labels
bug Something isn't working node.js Compatibility with Node.js APIs

Comments

@Electroid
Copy link
Contributor

 95 |         outbytes: this.stat.outbytes + sinfo.outbytes,
 96 |       },
 97 |       nodejs: {
 98 |         uptime: Math.floor(process.uptime()),
 99 |         version: process.version,
100 |         mem: process.memoryUsage()
                 ^
TypeError: process.memoryUsage is not a function. (In 'process.memoryUsage()', 'process.memoryUsage' is undefined)
      at /node_modules/node-media-server/src/api/controllers/server.js:100:13
@Electroid Electroid added bug Something isn't working node.js Compatibility with Node.js APIs labels Jul 7, 2023
Jarred-Sumner added a commit that referenced this issue Jul 9, 2023
@Electroid Electroid linked a pull request Jul 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working node.js Compatibility with Node.js APIs
Projects
None yet
1 participant