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

KEYKB KEYKB 提出于 2024-12-07 01:12 4655 浏览
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/

Tiny熊

擅长:智能合约,以太坊 · 采纳率 33% · 回答于 2024-12-07 10:16

其它 1 个回答

写回答

你需要登录后才可以回答问题,登录