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

Silent output of npm install #108

Merged
merged 1 commit into from
May 27, 2016
Merged

Conversation

craigsketchley
Copy link
Contributor

When trying to deploy my lambda I get the following output:

=> Moving files to temporary directory
=> Running npm install --production
/usr/src/app/node_modules/node-lambda/lib/main.js:421
      throw err;
      ^

Error: stderr maxBuffer exceeded
    at Socket.<anonymous> (child_process.js:285:14)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:153:18)
    at Socket.Readable.push (_stream_readable.js:111:10)
    at Pipe.onread (net.js:531:20)

This seems to occur for particularly verbose output. Adding -s to npm install seems to do the trick.

@DeviaVir
Copy link
Collaborator

Interesting, thanks for your contribution!

@DeviaVir DeviaVir merged commit 83690e1 into motdotla:master May 27, 2016
@DeviaVir DeviaVir mentioned this pull request May 27, 2016
@DeviaVir
Copy link
Collaborator

Your changes are live in 0.8.5, thanks again!

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.

2 participants