truffle-box / react-box

Truffle, Webpack and React boilerplate.
https://truffle-box.github.io/
MIT License
736 stars 251 forks source link

Error: stdout maxBuffer exceeded #56

Closed milan-chen closed 5 years ago

milan-chen commented 6 years ago

I got this error when l download the react-box.How to solve it? plz. truffle unbox react Downloading... Unpacking... Setting up... Error: stdout maxBuffer exceeded at Socket.onChildStdout (child_process.js:328: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:597:20)

milan-chen commented 6 years ago

ok,l try again and finally solved it.It really strange... In fact, this problem has been plagued for a long time. I am not quite sure what the cause is. But one thing that may be sure is that the name of the folder should not be too long and should not named with symbol, so that you can ensure success.(It sounds a bit unbelievable, but in fact I did..)

licklake commented 6 years ago

I got the same problem. Reproduced on Win10. As @mokeychan wrote, shortening the folder truffle is extracted solves the issue.

roma-glushko commented 6 years ago

@licklake @mokeychan this is doesn't work actually for me.

The directory names were webpack and w and full path /dapp/webpack and /dapp/w. I can not even come to shorten ones 😄 So this is not working for my case. Working in docker container with local installation of truffle of following version:

Truffle v4.1.13 (core: 4.1.13) Solidity v0.4.24 (solc-js)

I have got actually the same issue as @mokeychan described in the issue description but in my case I'm unboxing webpack.

I could not find a way to submit this issue for that box. That's why I'm posting this here assuming that reasons are the same

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if no there is no reply to further comments.