Unbox failed!
RequestError: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxyhost
at ClientRequest. (C:\Users\mirza\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\download\node_modules\got\index.js:182:1)
at Object.onceWrapper (node:events:514:26)
at ClientRequest.emit (node:events:394:28)
at ClientRequest.onError (C:\Users\mirza\AppData\Roaming\npm\node_modules\truffle\build\webpack:\node_modules\tunnel-agent\index.js:179:1)
at Object.onceWrapper (node:events:514:26)
at ClientRequest.emit (node:events:394:28)
at Socket.socketErrorListener (node:_http_client:447:9)
at Socket.emit (node:events:394:28)
at emitErrorNT (node:internal/streams/destroy:193:8)
at emitErrorCloseNT (node:internal/streams/destroy:158:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Truffle v5.5.28 (core: 5.5.28)
Node v16.4.0
Hey @HamzaUmer, is your machine connected / behind some proxy? Try env | grep proxy.
Also here's a related issue over on the Truffle repo that may be helpful.
Closing for issue maintenance.