5 Truffle编译时,无法下载编译器

PS C:\Users\31833\Desktop\test1\MetaCoin\metacoin-box> truffle compile

Compiling your contracts...
===========================
× Fetching solc version list from solc-bin. Attempt #1
× Fetching solc version list from solc-bin. Attempt #2
× Fetching solc version list from solc-bin. Attempt #3
× Fetching solc version list from solc-bin. Attempt #4
× Fetching solc version list from solc-bin. Attempt #5
× Fetching solc version list from solc-bin. Attempt #6
Error: Failed to fetch the Solidity compiler from the following locations: https://binaries.soliditylang.org/emscripten-wasm32/,https://binaries.soliditylang.org/emscripten-asmjs/,https://solc-bin.ethereum.org/bin/,https://ethereum.github.io/solc-bin/bin/,https://relay.trufflesuite.com/solc/emscripten-wasm32/,https://relay.trufflesuite.com/solc/emscripten-asmjs/. Are you connected to the internet?

大佬们,一直卡着,我下了编译器到本地,但是他依然检测不到,我放到.config\truffle\compilers\node_modules\soljson-v0.8.13.js,他还是显示这个。

请先 登录 后评论

最佳答案 2024-12-09 21:58

现在主流的开发工具是 Foundry : https://learnblockchain.cn/docs/foundry/i18n/zh/

请先 登录 后评论

其它 1 个回答

请先 登录 后评论
  • 2 关注
  • 0 收藏,267 浏览
  • KEYKB 提出于 2024-12-07 01:12