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

wintools exceeds maxBuffer (w/ fix) #32

Open
ndarville opened this issue Dec 3, 2017 · 2 comments
Open

wintools exceeds maxBuffer (w/ fix) #32

ndarville opened this issue Dec 3, 2017 · 2 comments

Comments

@ndarville
Copy link

ndarville commented Dec 3, 2017

Windows 10, cmd.

Error

[17:25:03] Failed to fetch Spotify data: { err: { Error: stdout maxBuffer exceeded
    at Socket.onChildStdout (child_process.js:324:14)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at addChunk (_stream_readable.js:266:12)
    at readableAddChunk (_stream_readable.js:249:13)
    at Socket.Readable.push (_stream_readable.js:211:10)
    at Pipe.onread (net.js:587:20) cmd: 'wmic process list /format:csv' },
  msg: 'unable to enumerate processes' }

Fix

Changing node_modules/wintools/ps.js like so fixed it: anodejs/node-wintools@624c3cb

Solution

See if a different package version of wintools fixes it or replace the package with node-wintools instead of wintools instead.

Via nadavbar/node-spotify-webhelper#6.

@Phineas
Copy link
Member

Phineas commented Dec 3, 2017

node-wintools is wintools on npm

@gdude2002
Copy link

I can confirm this fix.

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

3 participants