Error while unboxing the pet-shop box #2692
Comments
I've tried to replicate this on both Node v10 and Node v12 w/ MacOS, but was unsuccessful. Let me see if I can find another team member with more Windows knowledge to look into this. |
I have some question |
Do either of you reporting this problem have a proxy or other specific network configuration that could give us clues as to what's happening? Thanks! |
I also got this issue
|
If you are in China, You can use a hosts to solve this problem. |
To everyone in this thread, can we confirm that this is a problem with China's great firewall? |
I added the #GoogleHosts# part to my hosts file, and then I ran truffle unbox webpack. √ Preparing to download box √ cleaning up temporary files I'm not sure if it is because of the China's firewall against google. |
If possible, I'd love to investigate workarounds to make this easier. |
i also have this problem |
This comment has been minimized.
This comment has been minimized.
I had the same problem, have you solved it, please help me, thx |
@youwenbusi |
I have a similar issue like below:
I added below, am still getting error:
I don't have problem download the project from web browser without above. Any idea? |
I have tried with both proxy and without proxy still not working. |
the question:
|
I ran into this but was using a wifi extender. Once I connect directly to my network truffle init worked. |
It works! |
how should I use this hosts ? |
same issue happen often to me during contract deployment/upgrade. I suspect an issue on Truffle (socket not correctly closed or something like this) |
@inso- can you run and share the result of running the unbox command with debug env set?
|
Debug from my contract deployment: Attempt 1:
Attempt 2:
|
Hi @inso- Apologies, I thought you had an issue with the |
Look like the exact same issue happen on init, deploy and unbox. Will open a new one with details when I have time. |
Starting unbox...✓ Preparing to download box how to resolve?? |
Hey @Pavanee12, usually this means there is something up with your network connection. Do you get the same results when using a different network connection? |
Closing for issue maintenance. |
Issue
truffle unbox pet-shop
√ Preparing to download
× Downloading
RequestError: Error: read ECONNRESET
at new RequestError (C:\Users\Administrator\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\request-promise-core\lib\errors.js:14:1)
at Request.plumbing.callback (C:\Users\Administrator\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\request-promise-core\lib\plumbing.js:87:1)
at Request.RP$callback [as _callback] (C:\Users\Administrator\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\request-promise-core\lib\plumbing.js:46:1)
at self.callback (C:\Users\Administrator\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\request\request.js:185:1)
at Request.emit (events.js:210:5)
at Request.onRequestError (C:\Users\Administrator\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\request\request.js:881:1)
at ClientRequest.emit (events.js:210:5)
at TLSSocket.socketErrorListener (_http_client.js:406:9)
at TLSSocket.emit (events.js:210:5)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Truffle v5.1.4 (core: 5.1.4)
Node v12.13.1
npm --version
): 6.12.1I update the node version but it doesn't work.
but the command truffle unbox pet-shop i use yesterday work well.
i try to look for the file C:\Users\Administrator\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\request\request.js:881:1
and i can not find such a file.there is only a build folder.webpack: i can't find it.
The text was updated successfully, but these errors were encountered: