2_deploy_contracts.js
=====================
Replacing 'SimpleStorage'
-------------------------
Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({
code: -32603,
message: 'ETIMEDOUT',
data: { originalError: { code: 'ETIMEDOUT', connect: true } },
stack: 'Error: ETIMEDOUTn' +
' at Timeout.<anonymous> (D:\Downloads\eattheblocks-master\screencast\321-connect-frontend-contract-bsc\node_modules\request\request.js:848:19)n' +
' at listOnTimeout (internal/timers.js:557:17)n' +
' at processTimers (internal/timers.js:500:7)'
})
at Web3ProviderEngine.emit (events.js:364:17)
at D:Downloadseattheblocks-masterscreencast321-connect-frontend-contract-bscnode_modules@trufflesuiteweb3-provider-engineindex.js:57:14
- Truffle v5.4.3 (core: 5.4.3)
- Solidity - 0.8.0 (solc-js)
- 节点v14.17.3
- Web3.js v1.5.0
如果您正在使用ganache,请确保它正在运行。同时提供您的truffle配置文件和迁移文件以获取更多信息。