jaydenseric / audit-age

A Node.js CLI and equivalent JS API to audit the age of installed production npm packages.
https://npm.im/audit-age
MIT License
7 stars 0 forks source link

`Error: stdout maxBuffer exceeded` on a large package.json / node_modules #3

Closed sompylasar closed 3 years ago

sompylasar commented 6 years ago
$ npx audit-age
npx: installed 16 in 6.37s
(node:30705) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: stdout maxBuffer exceeded
(node:30705) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

120 regular dependencies plus 39 devDependencies in package.json. 1151 package directories in node_modules/.

jaydenseric commented 6 years ago

Good point. Maybe we show the full summary, but limit the output of the last however many results.