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

fix stderr maxBuffer error on npm pack #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

psnyder
Copy link

@psnyder psnyder commented Nov 16, 2018

This fixes the following error, which occurs on the npm pack call because exec was used instead of spawn. Updated to use spawn and all is well.

~/.nvm/versions/node/v8.12.0/lib/node_modules/npm-bundle/bin/cli.js:11
    throw error
    ^

Error: stderr maxBuffer exceeded
    at Socket.onChildStderr (child_process.js:347:14)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:246:13)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at Pipe.onread (net.js:601:20)

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

Successfully merging this pull request may close these issues.

None yet

1 participant